]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winucs.c
Giant const-correctness patch of doom!
[PuTTY.git] / windows / winucs.c
index 14728a815a86c46d9f1881dfc6c76d4381d46248..c1888f9eda93ba6663b6368ef9a36d348f8f62e7 100644 (file)
@@ -1161,7 +1161,7 @@ void get_unitab(int codepage, wchar_t * unitab, int ftype)
 }
 
 int wc_to_mb(int codepage, int flags, const wchar_t *wcstr, int wclen,
-            char *mbstr, int mblen, char *defchr, int *defused,
+            char *mbstr, int mblen, const char *defchr, int *defused,
             struct unicode_data *ucsdata)
 {
     char *p;