diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/get_header_cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c index 11925c4..bdd80df 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; |