summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xev.c b/xev.c
index ad4b0b4..5d755ea 100644
--- a/xev.c
+++ b/xev.c
@@ -28,7 +28,7 @@ other dealings in this Software without prior written authorization
from the X Consortium.
*/
-/* $XFree86: xc/programs/xev/xev.c,v 1.13 2003/10/24 20:38:17 tsi Exp $ */
+/* $XFree86: xc/programs/xev/xev.c,v 1.14 2004/02/07 04:33:07 dawes Exp $ */
/*
* Author: Jim Fulton, MIT X Consortium
@@ -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