Fix warnings.
[pspp-builds.git] / src / libpspp / i18n.c
index e77abfe5b810fc2efff3d4cb35ba98c7776876e6..43056c8b7431b7e7f22da99c11d459380b411880 100644 (file)
@@ -97,7 +97,7 @@ recode_string (enum conv_id how,  const char *text, int length)
   inbytes = length;
 
   do {
-    char *ip = text;
+    const char *ip = text;
     result = iconv (convertor[how], (ICONV_CONST char **) &text, &inbytes,
                   &op, &outbytes);