summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2005-09-25 03:12:26 +0000
committerRob Landley2005-09-25 03:12:26 +0000
commit1ff789c5679d03d2949e3d64e03b8849027fb55e (patch)
tree7fecfb678a7d3778540b056d6a49e54735d964ec
parent3978abd05b67772b8a185e8f8a70cac3e7703807 (diff)
downloadbusybox-1ff789c5679d03d2949e3d64e03b8849027fb55e.zip
busybox-1ff789c5679d03d2949e3d64e03b8849027fb55e.tar.gz
Stop gcc4 from nit-picking about signedness of char *.
-rw-r--r--archival/libunarchive/decompress_bunzip2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c
index 07e3cf0..597ec85 100644
--- a/archival/libunarchive/decompress_bunzip2.c
+++ b/archival/libunarchive/decompress_bunzip2.c
@@ -514,7 +514,8 @@ decode_next_byte:
/* Allocate the structure, read file header. If in_fd==-1, inbuf must contain
a complete bunzip file (len bytes long). If in_fd!=-1, inbuf and len are
ignored, and data is read from file handle into temporary buffer. */
-static int start_bunzip(bunzip_data **bdp, int in_fd, char *inbuf, int len)
+static int start_bunzip(bunzip_data **bdp, int in_fd, unsigned char *inbuf,
+ int len)
{
bunzip_data *bd;
unsigned int i,j,c;