From: Peter Verthez Date: Mon, 14 Oct 2002 18:51:02 +0000 (+0000) Subject: Use ICONV_CONST for portability. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=65ae367d30cd63a5a0b277c08ff9744e9dd1db44;p=gedcom-parse.git Use ICONV_CONST for portability. --- diff --git a/gedcom/encoding.c b/gedcom/encoding.c index 4feac58..d484d1c 100644 --- a/gedcom/encoding.c +++ b/gedcom/encoding.c @@ -289,7 +289,7 @@ char* to_internal(const char* str, size_t len, size_t res; size_t outsize = out_len; char *wrptr = output_buffer; - char *rdptr = conv_buf; + ICONV_CONST char *rdptr = (ICONV_CONST char*) conv_buf; char *retval = output_buffer; /* set up input buffer (concatenate to what was left previous time) */ /* can't use strcpy, because possible null bytes from unicode */