summaryrefslogtreecommitdiff
path: root/xev.c
diff options
context:
space:
mode:
Diffstat (limited to 'xev.c')
-rw-r--r--xev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xev.c b/xev.c
index ad4b0b4..1622fe5 100644
--- a/xev.c
+++ b/xev.c
@@ -85,8 +85,8 @@ dump (char *str, int len)
printf("(");
len--;
while (len-- > 0)
- printf("%02x ", *str++);
- printf("%02x)", *str++);
+ printf("%02x ", (unsigned char) *str++);
+ printf("%02x)", (unsigned char) *str++);
}
static void