From 1ff789c5679d03d2949e3d64e03b8849027fb55e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 25 Sep 2005 03:12:26 +0000 Subject: Stop gcc4 from nit-picking about signedness of char *. --- archival/libunarchive/decompress_bunzip2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 07e3cf018..597ec85a3 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; -- cgit v1.2.3