aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ahoy/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c
index b50e388..a052a39 100644
--- a/src/ahoy/gui.c
+++ b/src/ahoy/gui.c
@@ -91,7 +91,7 @@ windrw(void)
noclr:
for (size_t i = 0; i < lengthof(c8.screen); i++) {
for (size_t j = 64; j-- > 0;) {
- bool set = ((uint64_t)1 << j) & c8.screen[i];
+ bool set = (UINT64_C(1) << j) & c8.screen[i];
r.x = cols[j] * SCR_SCALE;
r.y = i * SCR_SCALE;
if (set)