summaryrefslogtreecommitdiffhomepage
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-01-30 18:00:02 +0000
committerEric Andersen <andersen@codepoet.org>2006-01-30 18:00:02 +0000
commitd78aea8b8eb1da818c04929a2bddbed01a796c58 (patch)
tree601a057c6160d3474cd4c0d1f3ae6d6e5b5cab17 /archival/libunarchive
parent4bf31272ff074e5383b61f43aa270b50908991f8 (diff)
sort out yet more type issues
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 11925c4e3..bdd80dfea 100644
--- a/archival/libunarchive/get_header_cpio.c
+++ b/archival/libunarchive/get_header_cpio.c
@@ -66,7 +66,7 @@ extern char get_header_cpio(archive_handle_t *archive_handle)
/* There can be padding before archive header */
data_align(archive_handle, 4);
- if (archive_xread_all_eof(archive_handle, cpio_header, 110) == 0) {
+ if (archive_xread_all_eof(archive_handle, (unsigned char*)cpio_header, 110) == 0) {
return(EXIT_FAILURE);
}
archive_handle->offset += 110;