From f77e485241d575f0e873f4a2bb73ce21b15e5147 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sun, 28 Dec 2003 22:48:58 +0000 Subject: [PATCH] * gpgsplit.c (handle_bzip2): Remove two cut and paste typecast errors. Noted by Stefan Bellon. --- tools/ChangeLog | 5 +++++ tools/gpgsplit.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/ChangeLog b/tools/ChangeLog index 76107c2f8..3daad7872 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,8 @@ +2003-12-28 David Shaw + + * gpgsplit.c (handle_bzip2): Remove two cut and paste typecast + errors. Noted by Stefan Bellon. + 2003-12-02 David Shaw * gpgsplit.c (write_part): Split off decompression code. diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index b0a0c9274..141a08aea 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -476,7 +476,7 @@ handle_bzip2(int algo,FILE *fpin,FILE *fpout) { n = bzs.avail_in; if (!n) - bzs.next_in = (Bytef *) inbuf; + bzs.next_in = inbuf; count = inbufsize - n; for (nread=0; nread < count && (c=getc (fpin)) != EOF; @@ -491,7 +491,7 @@ handle_bzip2(int algo,FILE *fpin,FILE *fpout) } bzs.avail_in = n; } - bzs.next_out = (Bytef *) outbuf; + bzs.next_out = outbuf; bzs.avail_out = outbufsize; if (!zinit_done)