Fixed big-endian issue.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 22 Oct 2014 20:35:24 +0000 (13:35 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Wed, 22 Oct 2014 20:35:24 +0000 (13:35 -0700)
commitd426890b92f976108f91bdc4482a15fc2e08f919
tree175b6733b2563b8b421dd800d0b2d84970bac4fd
parent1e4d28bf144ce10105a042eb66f8048fa4f1ebf7
Fixed big-endian issue.

Noticed a memory read that isn't big-endian safe. Was somewhat
benign in that it would have simply caused vtable duplication
when constructing a FlatBuffer on a big-endian machine.

Change-Id: I5de3a2bb3ce6912fdd845ed40668719794920cac
include/flatbuffers/flatbuffers.h