From f54a9b4797ec50c6c5ec36fa625e5f181db9c4aa Mon Sep 17 00:00:00 2001 From: dogcow Date: Mon, 2 Oct 2006 12:44:40 +0000 Subject: [PATCH] If you're going to initialize a pointer, you have to init it with a pointer type, not an int. --- crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c b/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c index 3cb6ca70cbf6..aef4407a0fce 100644 --- a/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c +++ b/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipsec_doi.c,v 1.19 2006/10/02 11:59:40 manu Exp $ */ +/* $NetBSD: ipsec_doi.c,v 1.20 2006/10/02 12:44:40 dogcow Exp $ */ /* Id: ipsec_doi.c,v 1.55 2006/08/17 09:20:41 vanhu Exp */ @@ -752,7 +752,7 @@ t2isakmpsa(trns, sa) case OAKLEY_ATTR_GSS_ID: { int error = -1; - iconv_t cd = -1; + iconv_t cd = (iconv_t) -1; size_t srcleft, dstleft, rv; __iconv_const char *src; char *dst;