diff options
author | abyss7 <abyss.7@gmail.com> | 2014-11-03 10:20:08 +0300 |
---|---|---|
committer | abyss7 <abyss.7@gmail.com> | 2014-11-03 10:20:08 +0300 |
commit | 717f80749996ba97d050dd980a8e2ed97873d49e (patch) | |
tree | d15beea85fb798f2eec1b76449d378dc30fdd1c8 /src | |
parent | 53d202f587f329f84ce11c3ce6f8037ccce73f67 (diff) | |
download | protobuf-717f80749996ba97d050dd980a8e2ed97873d49e.tar.gz protobuf-717f80749996ba97d050dd980a8e2ed97873d49e.tar.bz2 protobuf-717f80749996ba97d050dd980a8e2ed97873d49e.zip |
Silence -Wsign-compare warning on Mac
Diffstat (limited to 'src')
-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 4e8ac9b6..feb22540 100644 --- a/src/google/protobuf/wire_format_lite_inl.h +++ b/src/google/protobuf/wire_format_lite_inl.h @@ -380,7 +380,7 @@ inline bool WireFormatLite::ReadPackedFixedSizePrimitive( #else values->Reserve(old_entries + new_entries); CType value; - for (int i = 0; i < new_entries; ++i) { + for (uint32 i = 0; i < new_entries; ++i) { if (!ReadPrimitive<CType, DeclaredType>(input, &value)) return false; values->AddAlreadyReserved(value); } |