Fix typos in comments (#5590)

Found by the https://github.com/OSGeo/gdal/blob/master/gdal/scripts/fix_typos.sh
script on the internal copy of flatbuffers inside GDAL
This commit is contained in:
Even Rouault
2019-10-28 18:02:46 +01:00
committed by Wouter van Oortmerssen
parent 480815447a
commit 1b85292fd3
4 changed files with 5 additions and 5 deletions

View File

@@ -2235,7 +2235,7 @@ class Verifier FLATBUFFERS_FINAL_CLASS {
// Check the vtable offset.
auto tableo = static_cast<size_t>(table - buf_);
if (!Verify<soffset_t>(tableo)) return false;
// This offset may be signed, but doing the substraction unsigned always
// This offset may be signed, but doing the subtraction unsigned always
// gives the result we want.
auto vtableo = tableo - static_cast<size_t>(ReadScalar<soffset_t>(table));
// Check the vtable size field, then check vtable fits in its entirety.