diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2015-02-02 19:37:58 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2015-02-02 19:37:58 -0800 |
commit | a22bc812a4042a3a1bd6aab48a87aee036650745 (patch) | |
tree | 0c42910d23f44eb333dcd1fb4fa5396c504fe20a /src | |
parent | 17e4419188e5873c43d462d493fcbb2cc668aa71 (diff) | |
parent | e544b38815134ea800c1c4d86d207c1b56535afe (diff) | |
download | protobuf-a22bc812a4042a3a1bd6aab48a87aee036650745.tar.gz protobuf-a22bc812a4042a3a1bd6aab48a87aee036650745.tar.bz2 protobuf-a22bc812a4042a3a1bd6aab48a87aee036650745.zip |
Merge pull request #186 from ennerf/win32-msvc-fix
MSVC protoc compiler fix
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/ruby/ruby_generator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/ruby/ruby_generator.cc b/src/google/protobuf/compiler/ruby/ruby_generator.cc index 3101c524..be59fafd 100644 --- a/src/google/protobuf/compiler/ruby/ruby_generator.cc +++ b/src/google/protobuf/compiler/ruby/ruby_generator.cc @@ -47,7 +47,7 @@ namespace compiler { namespace ruby { // Forward decls. -std::string IntToString(uint32_t value); +std::string IntToString(uint32 value); std::string StripDotProto(const std::string& proto_file); std::string LabelForField(google::protobuf::FieldDescriptor* field); std::string TypeName(google::protobuf::FieldDescriptor* field); @@ -64,7 +64,7 @@ void GenerateEnumAssignment( const google::protobuf::EnumDescriptor* en, google::protobuf::io::Printer* printer); -std::string IntToString(uint32_t value) { +std::string IntToString(uint32 value) { std::ostringstream os; os << value; return os.str(); |