Merge pull request #71 from abyss7/master
Silence -Wsign-compare warning on Mac
This commit is contained in:
commit
a270576f53
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue