summaryrefslogtreecommitdiff
path: root/source3/torture/t_push_ucs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/t_push_ucs2.c')
-rw-r--r--source3/torture/t_push_ucs2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/t_push_ucs2.c b/source3/torture/t_push_ucs2.c
index 8d327acfa5..b9bf87ba54 100644
--- a/source3/torture/t_push_ucs2.c
+++ b/source3/torture/t_push_ucs2.c
@@ -12,9 +12,10 @@ static int check_push_ucs2(const char *orig)
smb_ucs2_t *dest = NULL;
char *orig2 = NULL;
int ret;
+ size_t converted_size;
- push_ucs2_allocate(&dest, orig);
- pull_ucs2_allocate(&orig2, dest);
+ push_ucs2_allocate(&dest, orig, &converted_size);
+ pull_ucs2_allocate(&orig2, dest, &converted_size);
ret = strcmp(orig, orig2);
if (ret) {
fprintf(stderr, "orig: %s\n", orig);