From 0b781f96f73b324a5b5ee0b02b75569196efe352 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 17 Apr 2005 19:01:18 +0000 Subject: Improved gettext installation (now ok under BSD) --- src/common/weechat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/weechat.c b/src/common/weechat.c index dc8139089..41ab68191 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -115,7 +115,9 @@ weechat_convert_encoding (char *from_code, char *to_code, char *string) #ifdef HAVE_ICONV iconv_t cd; - char *inbuf, *ptr_inbuf, *ptr_outbuf; + char *inbuf; + ICONV_CONST char *ptr_inbuf; + char *ptr_outbuf; size_t inbytesleft, outbytesleft; if (from_code && from_code[0] && to_code && to_code[0] -- cgit v1.2.3