aboutsummaryrefslogtreecommitdiffstats
path: root/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 49d7c5ca74e8..d09f5507e3d2 100644
--- a/lex.c
+++ b/lex.c
@@ -411,7 +411,7 @@ int string(void)
}
*px = 0;
unput(c);
- sscanf(xbuf, "%x", &n);
+ sscanf(xbuf, "%x", (unsigned int *) &n);
*bp++ = n;
break;
}