summaryrefslogtreecommitdiffstats
path: root/src/rcciconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcciconv.c')
-rw-r--r--src/rcciconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcciconv.c b/src/rcciconv.c
index 6d3d1b0..3037dc2 100644
--- a/src/rcciconv.c
+++ b/src/rcciconv.c
@@ -74,7 +74,7 @@ loop_restart:
out_left = outsize;
loop:
- err=iconv(icnv->icnv, &in_buf, &in_left, &out_buf, &out_left);
+ err=iconv(icnv->icnv, (const char**)&in_buf, &in_left, &out_buf, &out_left);
if (err<0) {
if (errno==E2BIG) {
*(int*)(outbuf+(RCC_MAX_STRING_CHARS-sizeof(int)))=0;