aboutsummaryrefslogtreecommitdiffstats
path: root/lex.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2011-08-09 12:23:27 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2011-08-09 12:23:27 +0000
commit9cb3faa6600faf227157090f70a6ec850ac1ef75 (patch)
treea1dbab506adcf1ed332e9b7f6440e5df5b5ab3ee /lex.c
parente2f76e526c9828f75cb69d51857e9efd1ed0684f (diff)
downloadsrc-vendor/one-true-awk/20110807.tar.gz
src-vendor/one-true-awk/20110807.zip
Vendor import of bwk's 7-Aug-2011 release.vendor/one-true-awk/20110807
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;
}