diff --git a/lua/flatbuffers/numTypes.lua b/lua/flatbuffers/numTypes.lua index e8d87e124..84d0261c5 100644 --- a/lua/flatbuffers/numTypes.lua +++ b/lua/flatbuffers/numTypes.lua @@ -119,8 +119,8 @@ local int16_mt = local int32_mt = { bytewidth = 4, - min_value = -2^15, - max_value = 2^15-1, + min_value = -2^31, + max_value = 2^31-1, lua_type = type(1), name = "int32", packFmt = "