Explorar o código

Fix parameters declaration

vervaekejonathan %!s(int64=7) %!d(string=hai) anos
pai
achega
496822d307
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/google/protobuf/generated_message_util.h

+ 2 - 2
src/google/protobuf/generated_message_util.h

@@ -201,7 +201,7 @@ struct SerializationTable {
 };
 };
 
 
 LIBPROTOBUF_EXPORT void SerializeInternal(const uint8* base, const FieldMetadata* table,
 LIBPROTOBUF_EXPORT void SerializeInternal(const uint8* base, const FieldMetadata* table,
-                       int num_fields, ::google::protobuf::io::CodedOutputStream* output);
+                       int32 num_fields, ::google::protobuf::io::CodedOutputStream* output);
 
 
 inline void TableSerialize(const ::google::protobuf::MessageLite& msg,
 inline void TableSerialize(const ::google::protobuf::MessageLite& msg,
                            const SerializationTable* table,
                            const SerializationTable* table,
@@ -219,7 +219,7 @@ inline void TableSerialize(const ::google::protobuf::MessageLite& msg,
 }
 }
 
 
 uint8* SerializeInternalToArray(const uint8* base, const FieldMetadata* table,
 uint8* SerializeInternalToArray(const uint8* base, const FieldMetadata* table,
-                                int num_fields, bool is_deterministic,
+                                int32 num_fields, bool is_deterministic,
                                 uint8* buffer);
                                 uint8* buffer);
 
 
 inline uint8* TableSerializeToArray(const ::google::protobuf::MessageLite& msg,
 inline uint8* TableSerializeToArray(const ::google::protobuf::MessageLite& msg,