summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 7379bd6811..792cf2384a 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -132,7 +132,7 @@ void unistr_to_ascii(char *dest, const uint16 *src, int len)
Pull a DOS codepage string out of a UNICODE array. len is in bytes.
********************************************************************/
-void unistr_to_dos(char *dest, char *src, size_t len)
+void unistr_to_dos(char *dest, const char *src, size_t len)
{
char *destend = dest + len;