summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/lex.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2011-08-09 12:54:43 +0000
committerru <ru@FreeBSD.org>2011-08-09 12:54:43 +0000
commitd218e8cbbc531ecda2621a877543e58d0b03fe6c (patch)
tree079bb7a8384dfb47f51838c84776481fb07cf770 /contrib/one-true-awk/lex.c
parent95c58b7fb18fe9d1c2f2cfcb59238e78388050f6 (diff)
downloadFreeBSD-src-d218e8cbbc531ecda2621a877543e58d0b03fe6c.zip
FreeBSD-src-d218e8cbbc531ecda2621a877543e58d0b03fe6c.tar.gz
Update to a 7-Aug-2011 release.
Approved by: re (kib)
Diffstat (limited to 'contrib/one-true-awk/lex.c')
-rw-r--r--contrib/one-true-awk/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/one-true-awk/lex.c b/contrib/one-true-awk/lex.c
index 49d7c5c..d09f550 100644
--- a/contrib/one-true-awk/lex.c
+++ b/contrib/one-true-awk/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;
}
OpenPOWER on IntegriCloud