summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/conf.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-09-11 09:50:45 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-09-11 09:50:45 +0000
commite61e8d34c013f7d9405d5bf2fdd76d2d750f7db8 (patch)
tree29e85398fc18e15f3bec403793d062b5dcde3995 /sbin/isakmpd/conf.c
parent3077f36a703beaa821b0880e5d2c796015b4ec88 (diff)
signed vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok.
Diffstat (limited to 'sbin/isakmpd/conf.c')
-rw-r--r--sbin/isakmpd/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/conf.c b/sbin/isakmpd/conf.c
index 78d8286b86f..71ab6dca83c 100644
--- a/sbin/isakmpd/conf.c
+++ b/sbin/isakmpd/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.44 2002/08/07 13:19:20 ho Exp $ */
+/* $OpenBSD: conf.c,v 1.45 2002/09/11 09:50:43 ho Exp $ */
/* $EOM: conf.c,v 1.48 2000/12/04 02:04:29 angelos Exp $ */
/*
@@ -828,7 +828,7 @@ conf_decode_base64 (u_int8_t *out, u_int32_t *len, u_char *buf)
if (c2 & 0xF)
return 0;
- if (strcmp (buf, "==") == 0)
+ if (strcmp ((char *)buf, "==") == 0)
buf++;
else
return 0;
@@ -846,7 +846,7 @@ conf_decode_base64 (u_int8_t *out, u_int32_t *len, u_char *buf)
if (c3 & 3)
return 0;
- if (strcmp (buf, "="))
+ if (strcmp ((char *)buf, "="))
return 0;
}