summaryrefslogtreecommitdiffstats
path: root/kernel/kls_xcf/xcf2pnm/xcf-general.c
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2024-04-17 19:10:37 +0200
committerFrançois Andriot <[email protected]>2024-04-17 19:10:37 +0200
commiteb8f32b893d0e3f138f5a0bbcf1cf6b3d255437b (patch)
tree0d0ffb2317da9d2bb24f911ee7f82c61db9af5b9 /kernel/kls_xcf/xcf2pnm/xcf-general.c
parent29f338fe21b0fb066d05d1335e0562560ff1f4b1 (diff)
downloadlibksquirrel-eb8f32b893d0e3f138f5a0bbcf1cf6b3d255437b.tar.gz
libksquirrel-eb8f32b893d0e3f138f5a0bbcf1cf6b3d255437b.zip
Fix FTBFS due to invalid pointer in iconv function
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'kernel/kls_xcf/xcf2pnm/xcf-general.c')
-rw-r--r--kernel/kls_xcf/xcf2pnm/xcf-general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kls_xcf/xcf2pnm/xcf-general.c b/kernel/kls_xcf/xcf2pnm/xcf-general.c
index fadba37..722e804 100644
--- a/kernel/kls_xcf/xcf2pnm/xcf-general.c
+++ b/kernel/kls_xcf/xcf2pnm/xcf-general.c
@@ -132,7 +132,7 @@ xcfString(uint32_t ptr,uint32_t *after)
else
while(1) {
char *buffer = xcfmalloc(targetsize) ;
- const char *inbuf = utf8master ;
+ char *inbuf = utf8master ;
char *outbuf = buffer ;
size_t incount = length ;
size_t outcount = targetsize ;