Skip to content

Commit ee0b957

Browse files
committed
Overflow checks: fix constant suffixes for literals in cConstIntExprRanged() range table
1 parent d6f7562 commit ee0b957

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compiler/parser-decl-symbtype.bas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ function cConstIntExprRanged _
5050
/' FB_SIZETYPE_UINT8 '/ ( 0, 127, 255 ), _
5151
/' FB_SIZETYPE_INT16 '/ ( -32768, 32767, 32767 ), _
5252
/' FB_SIZETYPE_UINT16 '/ ( 0, 32767, 65535 ), _
53-
/' FB_SIZETYPE_INT32 '/ ( -2147483648ll, 2147483647ll, 2147483647ll ), _
54-
/' FB_SIZETYPE_UINT32 '/ ( 0, 2147483647ll, 4294967295ll ), _
55-
/' FB_SIZETYPE_INT64 '/ ( -9223372036854775808ull, 9223372036854775807ull, 9223372036854775807ull ), _
56-
/' FB_SIZETYPE_UINT64 '/ ( 0, 9223372036854775807ull, 18446744073709551615ull ) _
53+
/' FB_SIZETYPE_INT32 '/ ( -2147483648ll, 2147483647ll, 2147483647ull ), _
54+
/' FB_SIZETYPE_UINT32 '/ ( 0, 2147483647ll, 4294967295ull ), _
55+
/' FB_SIZETYPE_INT64 '/ ( -9223372036854775808ll, 9223372036854775807ll, 9223372036854775807ull ), _
56+
/' FB_SIZETYPE_UINT64 '/ ( 0, 9223372036854775807ll, 18446744073709551615ull ) _
5757
}
5858

5959
dim as longint value = any

0 commit comments

Comments
 (0)