Commit c1d16457 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #35 from dsrosario/fix_warning

Fix "warning C4018: '<' : signed/unsigned mismatch" 
parents 56aa52d9 bb7d210c
......@@ -390,7 +390,7 @@ inline bool WireFormatLite::ReadPackedFixedSizePrimitive(
// safely allocate. We read as much as we can into *values
// without pre-allocating "length" bytes.
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->Add(value);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment