]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - charset/toucs.c
Add some missing consts in character set handling.
[PuTTY.git] / charset / toucs.c
index 4a6c12f60b63c229db03b946c0cb4557625b7ec7..1df788a64ed8989392376ece1f917166e035f73f 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)
 {