summaryrefslogtreecommitdiff
path: root/uuencode.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-09-12 09:49:15 +1000
committerDamien Miller <djm@mindrot.org>2002-09-12 09:49:15 +1000
commita10f56151b24ce677c2c93440d723597410229d5 (patch)
treef645cbc8397d2f97472ed058ca680b6600535ec0 /uuencode.c
parent25162f2518f72035b50b254bfeb5b89d018223a6 (diff)
downloadopenssh-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/uuencode.c b/uuencode.c
index 89fcb081..21eaf4d3 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -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);