aboutsummaryrefslogtreecommitdiff
path: root/uchars.c
diff options
context:
space:
mode:
Diffstat (limited to 'uchars.c')
-rw-r--r--uchars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uchars.c b/uchars.c
index 5f09f60..7e7967f 100644
--- a/uchars.c
+++ b/uchars.c
@@ -16,7 +16,7 @@ char *ascii(const char16_t *wstr, bool translate_slashes)
16 return ret; 16 return ret;
17} 17}
18 18
19void c16cpy(char16_t *out, uint32_t *outsize, char *s) 19void c16cpy(char16_t *out, uint32_t *outsize, const char *s)
20{ 20{
21 uint32_t retlen = 0; 21 uint32_t retlen = 0;
22 while (retlen < *outsize) { 22 while (retlen < *outsize) {