summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2006-11-15 05:20:14 +0000
committerkientzle <kientzle@FreeBSD.org>2006-11-15 05:20:14 +0000
commit8f03f2f27b2a8b3a0fee0018d878be4918bf193c (patch)
tree6015cc0a586306f21cbc9a9c76909c0ab277a7f2
parent8c58f2d4e886683f06f5018c49ab1c29b9a64302 (diff)
downloadFreeBSD-src-8f03f2f27b2a8b3a0fee0018d878be4918bf193c.zip
FreeBSD-src-8f03f2f27b2a8b3a0fee0018d878be4918bf193c.tar.gz
Style: Use the correct type for a sizeof() variable.
-rw-r--r--lib/libarchive/archive_write_set_format_shar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_shar.c b/lib/libarchive/archive_write_set_format_shar.c
index 88b1384..15f535d 100644
--- a/lib/libarchive/archive_write_set_format_shar.c
+++ b/lib/libarchive/archive_write_set_format_shar.c
@@ -329,7 +329,7 @@ archive_write_shar_data_sed(struct archive *a, const void *buff, size_t n)
struct shar *shar;
const char *src;
int ret;
- int written = n;
+ size_t written = n;
shar = (struct shar *)a->format_data;
if (!shar->has_data)
OpenPOWER on IntegriCloud