Fix gcc-13 build on Linux

uint8_t requires stdint.h include. Also remove redundant consts as a
drive-by.
This commit is contained in:
Arseny Kapoulkine 2023-11-17 12:01:10 -08:00
parent 74c532053f
commit 6dc5a5fa8c

View file

@ -7,6 +7,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <stdint.h>
struct lua_State; struct lua_State;
struct Proto; struct Proto;
@ -35,12 +37,12 @@ public:
return line; return line;
} }
const unsigned getNestingLimit() const unsigned getNestingLimit() const
{ {
return nestingLimit; return nestingLimit;
} }
const unsigned getOpLimit() const unsigned getOpLimit() const
{ {
return LOP__COUNT; return LOP__COUNT;
} }