Add some missing consts in character set handling.
[u/mdw/putty] / charset / fromucs.c
index f08375f..6ccdb86 100644 (file)
@@ -40,7 +40,8 @@ static void charset_emit(void *ctx, long int output)
     }
 }
 
-int charset_from_unicode(wchar_t **input, int *inlen, char *output, int outlen,
+int charset_from_unicode(const wchar_t **input, int *inlen,
+                         char *output, int outlen,
                         int charset, charset_state *state,
                         const char *errstr, int errlen)
 {