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:
Antonio Park
2018-11-13 02:40:24 +09:00
committed by Wouter van Oortmerssen
parent dd8922878d
commit 688fc77460

View File

@@ -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 = "<i4"
@@ -195,4 +195,4 @@ end
GenerateTypes(m)
return m
return m