aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/ChangeLog5
-rw-r--r--tools/gpgsplit.c4
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)