mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-03 04:18:40 +00:00
Fix C++ UB from negating INT_MIN with macro shift INT_MIN
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
MACRO m
|
||||
println \1
|
||||
shift $8000_0000 ; INT32_MIN
|
||||
println \1
|
||||
ENDM
|
||||
m 1, 2, 3
|
||||
Reference in New Issue
Block a user