From 13194ececac20af821ac8e3acca73784c84325ad Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Wed, 21 Dec 2016 16:16:52 -0800 Subject: [PATCH] Fixed Windows compiler warning. Change-Id: I12b31227d4545a8897f638754d6a9ccd029f177e --- src/reflection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflection.cpp b/src/reflection.cpp index 10b62b2ad..cb30c7ff7 100644 --- a/src/reflection.cpp +++ b/src/reflection.cpp @@ -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: