diff options
author | markm <markm@FreeBSD.org> | 2003-05-03 10:16:51 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-05-03 10:16:51 +0000 |
commit | 8fbb9826c9227a9d32013339d1e0d9d267121ce9 (patch) | |
tree | fff51d121e0e5e35263e1f0e0d2f0280945a4c0b /bin/stty/gfmt.c | |
parent | aed36bd1256f3e55a874ab60a7399fd76221e83d (diff) | |
download | FreeBSD-src-8fbb9826c9227a9d32013339d1e0d9d267121ce9.zip FreeBSD-src-8fbb9826c9227a9d32013339d1e0d9d267121ce9.tar.gz |
Fix format warning. This is WARNS=9, std=c99 clean on i386.
Diffstat (limited to 'bin/stty/gfmt.c')
-rw-r--r-- | bin/stty/gfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c index dbf2532..2406ecf 100644 --- a/bin/stty/gfmt.c +++ b/bin/stty/gfmt.c @@ -89,7 +89,7 @@ gread(struct termios *tp, char *s) if (!(ep = strchr(p, '='))) gerr(p); *ep++ = '\0'; - (void)sscanf(ep, "%lx", &tmp); + (void)sscanf(ep, "%lx", (u_long *)&tmp); #define CHK(s) (*p == s[0] && !strcmp(p, s)) if (CHK("cflag")) { |