Commit 688fc774 authored by Antonio Park's avatar Antonio Park Committed by Wouter van Oortmerssen

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
parent dd892287
...@@ -119,8 +119,8 @@ local int16_mt = ...@@ -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"
...@@ -195,4 +195,4 @@ end ...@@ -195,4 +195,4 @@ end
GenerateTypes(m) GenerateTypes(m)
return m return m
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment