summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/uuencode.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-09-09 14:54:16 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-09-09 14:54:16 +0000
commit92f2ea116ed915ead839154f87c06c1355c9ae06 (patch)
treeb06fbcf7f72e068090c6792142111dc496d3396d /usr.bin/ssh/uuencode.c
parentc5ac6eb06e19f5bf8f3975ea975141a9d136f2a6 (diff)
signed vs unsigned from -pedantic; ok henning@
Diffstat (limited to 'usr.bin/ssh/uuencode.c')
-rw-r--r--usr.bin/ssh/uuencode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/uuencode.c b/usr.bin/ssh/uuencode.c
index 0074cd89070..60904c20bda 100644
--- a/usr.bin/ssh/uuencode.c
+++ b/usr.bin/ssh/uuencode.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: uuencode.c,v 1.15 2002/03/04 17:27:39 stevesk Exp $");
+RCSID("$OpenBSD: uuencode.c,v 1.16 2002/09/09 14:54:15 markus Exp $");
#include "xmalloc.h"
#include "uuencode.h"
@@ -60,7 +60,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);