Fix a signed and unsigned mismatch
This commit is contained in:
parent
368def16ce
commit
3a0514851a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue