diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-17 19:01:18 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-17 19:01:18 +0000 |
commit | 0b781f96f73b324a5b5ee0b02b75569196efe352 (patch) | |
tree | e825fa86bee1d503e360b0cceaf3363e458e4d51 /src | |
parent | 5090689a769658cf8a952db4533fe0c3b5ef3202 (diff) | |
download | weechat-0b781f96f73b324a5b5ee0b02b75569196efe352.zip |
Improved gettext installation (now ok under BSD)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/weechat.c | 4 |
1 files changed, 3 insertions, 1 deletions
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] |