diff options
author | Mark Murray <markm@FreeBSD.org> | 2003-05-03 10:16:51 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2003-05-03 10:16:51 +0000 |
commit | 97daf7ec12b5ac8938c6ce4a8652034527fd48ee (patch) | |
tree | fff51d121e0e5e35263e1f0e0d2f0280945a4c0b /bin/stty | |
parent | fcfa4c9589bd3856e100ba20dd9d62e60d04fad9 (diff) | |
download | src-97daf7ec12b5ac8938c6ce4a8652034527fd48ee.tar.gz src-97daf7ec12b5ac8938c6ce4a8652034527fd48ee.zip |
Fix format warning. This is WARNS=9, std=c99 clean on i386.
Notes
Notes:
svn path=/head/; revision=114576
Diffstat (limited to 'bin/stty')
-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 dbf2532faea3..2406ecfda774 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")) { |