aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mds-kbdc/compile-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/compile-layout.c b/src/mds-kbdc/compile-layout.c
index e3f53e6..c1cafd5 100644
--- a/src/mds-kbdc/compile-layout.c
+++ b/src/mds-kbdc/compile-layout.c
@@ -939,7 +939,7 @@ static char32_t* parse_keys(mds_kbdc_tree_t* restrict tree, const char* restrict
GROW_BUF; \
buf[buf_ptr++] = (char)0xFE; \
for (i = 0; i < 5; i++) \
- buf[buf_ptr++] = 0x80; \
+ buf[buf_ptr++] = (char)0x80; \
buf[buf_ptr++] = (char)((((1ULL << 31) ^ VAL##ULL) & 255) | 0x80); \
} \
while (0)