Import awk-20110810.
[dragonfly.git] / contrib / awk / lex.c
index 49d7c5c..d09f550 100644 (file)
@@ -411,7 +411,7 @@ int string(void)
                                }
                                *px = 0;
                                unput(c);
-                               sscanf(xbuf, "%x", &n);
+                               sscanf(xbuf, "%x", (unsigned int *) &n);
                                *bp++ = n;
                                break;
                            }