Fix FTBFS due to invalid pointer in iconv function

Signed-off-by: François Andriot <francois.andriot@thalesgroup.com>
pull/18/head
François Andriot 7 months ago
parent 29f338fe21
commit eb8f32b893

@ -132,7 +132,7 @@ xcfString(uint32_t ptr,uint32_t *after)
else else
while(1) { while(1) {
char *buffer = xcfmalloc(targetsize) ; char *buffer = xcfmalloc(targetsize) ;
const char *inbuf = utf8master ; char *inbuf = utf8master ;
char *outbuf = buffer ; char *outbuf = buffer ;
size_t incount = length ; size_t incount = length ;
size_t outcount = targetsize ; size_t outcount = targetsize ;

Loading…
Cancel
Save