diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
commit | 53d1b984ceb16d702513f6990576840c1c5d7cd0 (patch) | |
tree | b5c7f440a7281f57b78d5886eee331e48601753c /gnu/usr.bin/grep | |
parent | 080e3ef296732cdd3339a502a9a7484cd8751f50 (diff) | |
download | FreeBSD-src-53d1b984ceb16d702513f6990576840c1c5d7cd0.zip FreeBSD-src-53d1b984ceb16d702513f6990576840c1c5d7cd0.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'gnu/usr.bin/grep')
-rw-r--r-- | gnu/usr.bin/grep/grep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/grep.c b/gnu/usr.bin/grep/grep.c index 9a0fe05..7234986 100644 --- a/gnu/usr.bin/grep/grep.c +++ b/gnu/usr.bin/grep/grep.c @@ -411,7 +411,7 @@ prline(beg, lim, sep) lastnl = lim; } if (out_byte) - printf("%lu%c", totalcc + (beg - bufbeg), sep); + printf("%lu%c", (unsigned long)(totalcc + (beg - bufbeg)), sep); fwrite(beg, 1, lim - beg, stdout); if (ferror(stdout)) error("writing output", errno); |