diff options
Diffstat (limited to 'src/getsum.c')
-rw-r--r-- | src/getsum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getsum.c b/src/getsum.c index 29bc093..31626fe 100644 --- a/src/getsum.c +++ b/src/getsum.c @@ -19,7 +19,7 @@ agb_getsum (void const* const restrict romptr) for (char unsigned const* restrict pos = rom; pos != rom + agb_sumoff; ++pos) {sum += *pos;} - sum = 0x0u-(0x19u + sum); + sum = 0x0u - (0x19u + sum); return sum; } |