diff options
author | Damien Miller <djm@mindrot.org> | 2002-09-12 09:49:15 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-09-12 09:49:15 +1000 |
commit | a10f56151b24ce677c2c93440d723597410229d5 (patch) | |
tree | f645cbc8397d2f97472ed058ca680b6600535ec0 /uuencode.c | |
parent | 25162f2518f72035b50b254bfeb5b89d018223a6 (diff) | |
download | openssh-git-a10f56151b24ce677c2c93440d723597410229d5.tar.gz |
- markus@cvs.openbsd.org 2002/09/09 14:54:15
[channels.c kex.h key.c monitor.c monitor_wrap.c radix.c uuencode.c]
signed vs unsigned from -pedantic; ok henning@
Diffstat (limited to 'uuencode.c')
-rw-r--r-- | uuencode.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,9 +23,10 @@ */ #include "includes.h" +RCSID("$OpenBSD: uuencode.c,v 1.16 2002/09/09 14:54:15 markus Exp $"); + #include "xmalloc.h" #include "uuencode.h" -RCSID("$OpenBSD: uuencode.c,v 1.15 2002/03/04 17:27:39 stevesk Exp $"); int uuencode(u_char *src, u_int srclength, @@ -57,7 +58,7 @@ uudecode(const char *src, u_char *target, size_t targsize) void dump_base64(FILE *fp, u_char *data, u_int len) { - u_char *buf = xmalloc(2*len); + char *buf = xmalloc(2*len); int i, n; n = uuencode(data, len, buf, 2*len); |