From 5c24fd02cc8a4cea164fcb467d32532d1eb61d81 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 21 Mar 2011 23:09:39 +1100 Subject: [PATCH] Make tmp bufs uchar to avoid warnings. --- lrzip_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lrzip_private.h b/lrzip_private.h index 954a1b4..a053b1f 100644 --- a/lrzip_private.h +++ b/lrzip_private.h @@ -167,13 +167,13 @@ struct rzip_control { char *outfile; char *outdir; char *tmpdir; // when stdin, stdout, or test used - char *tmp_outbuf; // Temporary file storage for stdout + uchar *tmp_outbuf; // Temporary file storage for stdout i64 out_ofs; // Output offset when tmp_outbuf in use i64 hist_ofs; // History offset i64 out_len; // Total length of tmp_outbuf i64 out_maxlen; // The largest the tmp_outbuf can be used i64 out_relofs; // Relative tmp_outbuf offset when stdout has been flushed - char *tmp_inbuf; + uchar *tmp_inbuf; i64 in_ofs; i64 in_len; i64 in_maxlen;