aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-07 17:31:31 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-07 17:31:31 +0100
commit123d45667fcb9389be7bd02dce1442069db391c0 (patch)
treea393ebf9f6cff5b9f90c3ba83a97717736cc3658 /src
parent... derp (diff)
downloadmds-123d45667fcb9389be7bd02dce1442069db391c0.tar.gz
mds-123d45667fcb9389be7bd02dce1442069db391c0.tar.bz2
mds-123d45667fcb9389be7bd02dce1442069db391c0.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-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)