Fixed Windows compiler warning.

Change-Id: I12b31227d4545a8897f638754d6a9ccd029f177e
This commit is contained in:
Wouter van Oortmerssen 2016-12-21 16:16:52 -08:00
parent 9ec9303abb
commit 13194ececa
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ bool VerifyObject(flatbuffers::Verifier &v,
if (!table->VerifyTableStart(v))
return false;
for (size_t i = 0; i < obj.fields()->size(); i++) {
for (uoffset_t i = 0; i < obj.fields()->size(); i++) {
auto field_def = obj.fields()->Get(i);
switch (field_def->type()->base_type()) {
case reflection::None: