mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-23 23:34:32 +00:00
Fix $8000_0000 % -1 to warn with -Wdiv like $8000_0000 / -1 does (#2012)
This commit is contained in:
@@ -2,6 +2,10 @@ warning: Division of -2147483648 by -1 yields -2147483648 [-Wdiv]
|
||||
at overflow.asm(23)
|
||||
warning: Division of -2147483648 by -1 yields -2147483648 [-Wdiv]
|
||||
at overflow.asm(24)
|
||||
warning: Modulo of -2147483648 by -1 yields 0 [-Wdiv]
|
||||
at overflow.asm(28)
|
||||
warning: Modulo of -2147483648 by -1 yields 0 [-Wdiv]
|
||||
at overflow.asm(29)
|
||||
warning: Integer constant is too large [-Wlarge-constant]
|
||||
at overflow.asm(44)
|
||||
warning: Graphics constant has too many digits; only first 8 pixels considered [-Wlarge-constant]
|
||||
|
||||
Reference in New Issue
Block a user