Fix a signed and unsigned mismatch

This commit is contained in:
Jingyu Zhou 2019-07-31 17:01:23 -07:00
parent 368def16ce
commit 3a0514851a
1 changed files with 1 additions and 1 deletions

View File

@ -1161,7 +1161,7 @@ struct dynamic_size_traits<VectorRef<V, VecSerStrategy::String>> : std::true_typ
memcpy(&num_elements, data, sizeof(num_elements));
data += sizeof(num_elements);
t.resize(context.arena(), num_elements);
for (int i = 0; i < num_elements; ++i) {
for (unsigned i = 0; i < num_elements; ++i) {
data += traits.load(data, t[i], context);
}
ASSERT(data - p == size);