diff options
author | Bo Yang <teboring@google.com> | 2016-09-20 23:34:05 +0000 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-10-10 11:39:55 -0700 |
commit | fe1aaad7fe27311b9259525f391d50e9d68b19ba (patch) | |
tree | 659e9295585bda17f8d009fa63072e16a3bc79bb /src/google/protobuf | |
parent | 15f4db6cb177fc6fdd3743aae54a8ad30fc55c0b (diff) | |
download | protobuf-fe1aaad7fe27311b9259525f391d50e9d68b19ba.tar.gz protobuf-fe1aaad7fe27311b9259525f391d50e9d68b19ba.tar.bz2 protobuf-fe1aaad7fe27311b9259525f391d50e9d68b19ba.zip |
Fix bugs for internal integration.
Diffstat (limited to 'src/google/protobuf')
-rw-r--r-- | src/google/protobuf/wire_format_lite_inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/wire_format_lite_inl.h b/src/google/protobuf/wire_format_lite_inl.h index fbad965e..1963fac8 100644 --- a/src/google/protobuf/wire_format_lite_inl.h +++ b/src/google/protobuf/wire_format_lite_inl.h @@ -251,7 +251,7 @@ inline bool WireFormatLite::ReadRepeatedFixedSizePrimitive( uint32 tag, io::CodedInputStream* input, RepeatedField<CType>* values) { - GOOGLE_DCHECK_EQ(UInt32Size(tag), tag_size); + GOOGLE_DCHECK_EQ(UInt32Size(tag), static_cast<size_t>(tag_size)); CType value; if (!ReadPrimitive<CType, DeclaredType>(input, &value)) return false; |