summaryrefslogtreecommitdiff
path: root/source3/lib/util_unistr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-01 17:01:34 +0000
committerJeremy Allison <jra@samba.org>2000-06-01 17:01:34 +0000
commitf0080e5a3979fac94d6668cf6ee9d9f61302839c (patch)
treeac4f4389195913c5a8241b25671e85a7af3b417e /source3/lib/util_unistr.c
parent136544268460e56d7b551ae9efac9dc0a6b2830e (diff)
downloadsamba-f0080e5a3979fac94d6668cf6ee9d9f61302839c.tar.gz
samba-f0080e5a3979fac94d6668cf6ee9d9f61302839c.tar.bz2
samba-f0080e5a3979fac94d6668cf6ee9d9f61302839c.zip
Getting back to a compilable state (not there yet but close).
Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy. (This used to be commit c2099cfb033c2cdb6035f4f7f50ce21b98e1584d)
Diffstat (limited to 'source3/lib/util_unistr.c')
-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;