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)
- 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 89fcb0815..21eaf4d3f 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -23,9 +23,10 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: uuencode.c,v 1.16 2002/09/09 14:54:15 markus Exp $");
27
26#include "xmalloc.h" 28#include "xmalloc.h"
27#include "uuencode.h" 29#include "uuencode.h"
28RCSID("$OpenBSD: uuencode.c,v 1.15 2002/03/04 17:27:39 stevesk Exp $");
29 30
30int 31int
31uuencode(u_char *src, u_int srclength, 32uuencode(u_char *src, u_int srclength,
@@ -57,7 +58,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
57void 58void
58dump_base64(FILE *fp, u_char *data, u_int len) 59dump_base64(FILE *fp, u_char *data, u_int len)
59{ 60{
60 u_char *buf = xmalloc(2*len); 61 char *buf = xmalloc(2*len);
61 int i, n; 62 int i, n;
62 63
63 n = uuencode(data, len, buf, 2*len); 64 n = uuencode(data, len, buf, 2*len);