aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-11 21:34:04 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-11 21:34:04 +0000
commit9701411d21678b6cf40888820eb66556a9e90b38 (patch)
tree3597007bcb368474c8dc25a79d69070d5b2b0b9e /archival/libunarchive
parent49b0f86043beffb9096af83f159a6f7fd151ca30 (diff)
downloadbusybox-9701411d21678b6cf40888820eb66556a9e90b38.tar.gz
squash a warning
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/get_header_cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c
index 87e971588..96057a7b8 100644
--- a/archival/libunarchive/get_header_cpio.c
+++ b/archival/libunarchive/get_header_cpio.c
@@ -88,7 +88,7 @@ extern char get_header_cpio(archive_handle_t *archive_handle)
sscanf(cpio_header, "%6c%8x%8x%8x%8x%8x%8lx%8lx%16c%8x%8x%8x%8c",
dummy, &inode, (unsigned int*)&file_header->mode,
(unsigned int*)&file_header->uid, (unsigned int*)&file_header->gid,
- &nlink, &file_header->mtime, &file_header->size,
+ &nlink, &file_header->mtime, (unsigned long*)&file_header->size,
dummy, &major, &minor, &namesize, dummy);
file_header->name = (char *) xmalloc(namesize + 1);