Add some missing consts in character set handling.
[u/mdw/putty] / charset / toucs.c
index 4a6c12f..1df788a 100644 (file)
@@ -46,7 +46,8 @@ static void unicode_emit(void *ctx, long int output)
     }
 }
 
-int charset_to_unicode(char **input, int *inlen, wchar_t *output, int outlen,
+int charset_to_unicode(const char **input, int *inlen,
+                       wchar_t *output, int outlen,
                       int charset, charset_state *state,
                       const wchar_t *errstr, int errlen)
 {