summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/utable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/utable.c b/source3/torture/utable.c
index 8279f0b17d..e5126da91d 100644
--- a/source3/torture/utable.c
+++ b/source3/torture/utable.c
@@ -47,7 +47,7 @@ BOOL torture_utable(int dummy)
SSVAL(&c2, 0, c);
fstrcpy(fname, "\\utable\\x");
p = fname+strlen(fname);
- len = convert_string(CH_UCS2, CH_UNIX,
+ len = convert_string(CH_UTF16LE, CH_UNIX,
&c2, 2,
p, sizeof(fname)-strlen(fname), True);
p[len] = 0;
@@ -104,7 +104,7 @@ static char *form_name(int c)
p = fname+strlen(fname);
SSVAL(&c2, 0, c);
- len = convert_string(CH_UCS2, CH_UNIX,
+ len = convert_string(CH_UTF16LE, CH_UNIX,
&c2, 2,
p, sizeof(fname)-strlen(fname), True);
p[len] = 0;