summaryrefslogtreecommitdiff
path: root/ustring.c
diff options
context:
space:
mode:
Diffstat (limited to 'ustring.c')
-rw-r--r--ustring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ustring.c b/ustring.c
index c4af519..51c279b 100644
--- a/ustring.c
+++ b/ustring.c
@@ -78,7 +78,7 @@ wchar_t *ufroma_dup(char *s) {
return buf;
}
-int ustrlen(wchar_t *s) {
+int ustrlen(wchar_t const *s) {
int len = 0;
while (*s++) len++;
return len;
@@ -88,7 +88,7 @@ wchar_t *uadv(wchar_t *s) {
return s + 1 + ustrlen(s);
}
-wchar_t *ustrcpy(wchar_t *dest, wchar_t *source) {
+wchar_t *ustrcpy(wchar_t *dest, wchar_t const *source) {
wchar_t *ret = dest;
do {
*dest++ = *source;