summaryrefslogtreecommitdiffstats
path: root/tools/gpgsplit.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-01-12 03:48:42 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2004-01-12 03:48:42 +0100
commit967a61cdb82e5b4e18d75625508b9b6c51c3228d (patch)
tree308a343edf4b7cd5b424c3bc65282e7341bdfb18 /tools/gpgsplit.c
parent* config.links: OpenBSD 3.4 is now ELF, so use the proper assembler code (diff)
downloadgnupg2-967a61cdb82e5b4e18d75625508b9b6c51c3228d.tar.xz
gnupg2-967a61cdb82e5b4e18d75625508b9b6c51c3228d.zip
* convert-from-106, lspgpot: Check for gpg binary before proceeding.
Don't hardcode the path to gpg. * gpgsplit.c (handle_bzip2): Remove two cut and paste typecast errors. Noted by Stefan Bellon.
Diffstat (limited to 'tools/gpgsplit.c')
-rw-r--r--tools/gpgsplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c
index 856e9aa29..a91635092 100644
--- a/tools/gpgsplit.c
+++ b/tools/gpgsplit.c
@@ -472,7 +472,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;
@@ -487,7 +487,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)