summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/table/palettes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/palettes.h b/src/table/palettes.h
index 5998bc9dc..6f246ba68 100644
--- a/src/table/palettes.h
+++ b/src/table/palettes.h
@@ -11,7 +11,7 @@
#include "../core/endian_type.hpp"
-#define M(r, g, b) { 0xff << 24 | (r) << 16 | (g) << 8 | (b) }
+#define M(r, g, b) { 0xFF000000U | (r) << 16 | (g) << 8 | (b) }
/** Colour palette (DOS) */
static const Colour _palette[256] = {