diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2002-07-28 15:41:15 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2002-07-28 15:41:15 +0000 |
| commit | 8015edeebbd53f8fe3a444bdf469584a6c0bc80c (patch) | |
| tree | f4ed153645dac13fbdcd6fa9e1b4f659cb079a5a /usr.bin | |
| parent | 47e9e6a16810657f2570a863a3bf734506eadd66 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/csplit/csplit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/csplit/csplit.c b/usr.bin/csplit/csplit.c index 35614be214ad0..cdf5f01040348 100644 --- a/usr.bin/csplit/csplit.c +++ b/usr.bin/csplit/csplit.c @@ -234,7 +234,7 @@ newfile(void) { FILE *fp; - if (snprintf(currfile, sizeof(currfile), "%s%0*ld", prefix, + if ((size_t)snprintf(currfile, sizeof(currfile), "%s%0*ld", prefix, (int)sufflen, nfiles) >= sizeof(currfile)) { errno = ENAMETOOLONG; err(1, NULL); |
