mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 14:30:01 +00:00
Wrong int32 min-max range definition on numTypes.lua (#5031)
* Update numTypes.lua int32 range was wrongly defined. * Update numTypes.lua Fix number 32 to 31
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
dd8922878d
commit
688fc77460
@@ -119,8 +119,8 @@ local int16_mt =
|
|||||||
local int32_mt =
|
local int32_mt =
|
||||||
{
|
{
|
||||||
bytewidth = 4,
|
bytewidth = 4,
|
||||||
min_value = -2^15,
|
min_value = -2^31,
|
||||||
max_value = 2^15-1,
|
max_value = 2^31-1,
|
||||||
lua_type = type(1),
|
lua_type = type(1),
|
||||||
name = "int32",
|
name = "int32",
|
||||||
packFmt = "<i4"
|
packFmt = "<i4"
|
||||||
|
|||||||
Reference in New Issue
Block a user