Skip to content
Snippets Groups Projects
Commit 281284fa authored by Jesper Stemann Andersen's avatar Jesper Stemann Andersen Committed by Wouter van Oortmerssen
Browse files

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.
parent 1a27c701
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment