summaryrefslogtreecommitdiff
path: root/usr.bin/awk/lex.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-09-28 19:27:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-09-28 19:27:19 +0000
commit5a584962ab8cee0b65e69bcd3da8ce591fb3ef5e (patch)
tree5350e4e505cbc8e378d240e8d03c50c9208c8094 /usr.bin/awk/lex.c
parentac267d6605c7de5c655b267dba43d0f9d1f714b0 (diff)
Update awk to Aug 10, 2011 version; naddy@ reports no ports problems
from the update.
Diffstat (limited to 'usr.bin/awk/lex.c')
-rw-r--r--usr.bin/awk/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/lex.c b/usr.bin/awk/lex.c
index f355dd7fcd7..eae2f38a692 100644
--- a/usr.bin/awk/lex.c
+++ b/usr.bin/awk/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.11 2008/10/06 20:38:33 millert Exp $ */
+/* $OpenBSD: lex.c,v 1.12 2011/09/28 19:27:18 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -422,7 +422,7 @@ int string(void)
}
*px = 0;
unput(c);
- sscanf(xbuf, "%x", &n);
+ sscanf(xbuf, "%x", (unsigned int *) &n);
*bp++ = n;
break;
}