diff options
author | David Shaw <[email protected]> | 2003-12-28 22:48:58 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-12-28 22:48:58 +0000 |
commit | f77e485241d575f0e873f4a2bb73ce21b15e5147 (patch) | |
tree | 3c6457f31c59e529863ed9584d1afe74834b0e0a | |
parent | * configure.ac: Include stdio.h when checking for bzlib.h. Solaris 9 has a (diff) | |
download | gnupg-f77e485241d575f0e873f4a2bb73ce21b15e5147.tar.gz gnupg-f77e485241d575f0e873f4a2bb73ce21b15e5147.zip |
* gpgsplit.c (handle_bzip2): Remove two cut and paste typecast errors.
Noted by Stefan Bellon.
-rw-r--r-- | tools/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <[email protected]> + + * gpgsplit.c (handle_bzip2): Remove two cut and paste typecast + errors. Noted by Stefan Bellon. + 2003-12-02 David Shaw <[email protected]> * 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) |