commit | 281284fa5d7ccd32c7d2e6106313648da5a96548 | [log] [tgz] |
---|---|---|
author | Jesper Stemann Andersen <jesper@sait.dk> | Mon Mar 27 18:38:04 2017 +0200 |
committer | Wouter van Oortmerssen <aardappel@gmail.com> | Mon Mar 27 09:38:04 2017 -0700 |
tree | deabaa13803f34b0200148353ec73cbfd4e1ec60 | |
parent | 1a27c7017a0ad947e3520718d9b66a71a14afa2e [diff] |
Fixed building and warnings on Arduino (16 bit platform). (#4197) Building on Arduino fixed by conditional includes of cstdint and utility. In the Standard C++ for Arduino (port of uClibc++): * cstdint is not present. * utility is named utility.h. Replaced size_t with uoffset_t for Verifier::max_tables_, max_depth_, depth_, and num_tables_ to ensure 32-bit values are used (and not 16-bit) - gave rise to a warning.