summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-27 16:06:40 +0100
committerGünther Deschner <gd@samba.org>2009-11-27 16:15:33 +0100
commit79f82998b1aa8349f76a4c82c17daf7e03cdb41a (patch)
treeabe242e8580f9e96fe65b1a6da725384a00b7767 /pidl/lib/Parse/Pidl
parent0cc45b47dc787abb2c3c31e4fc824798d9f3efe9 (diff)
downloadsamba-79f82998b1aa8349f76a4c82c17daf7e03cdb41a.tar.gz
samba-79f82998b1aa8349f76a4c82c17daf7e03cdb41a.tar.bz2
samba-79f82998b1aa8349f76a4c82c17daf7e03cdb41a.zip
pidl: fix handling of output arguments in s3 client stubs.
a20e095 used (uint8_t) instead of (uint8_t *). Guenther
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
index b26a08e029..68579d2c9a 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
@@ -105,7 +105,7 @@ sub ParseOutputArgument($$$;$$)
} else {
my $size_is = ParseExpr($l->{SIZE_IS}, $env, $e->{ORIGINAL});
if (has_property($e, "charset")) {
- $self->pidl("memcpy(discard_const_p(uint8_t, $o$e->{NAME}), ${r}out.$e->{NAME}, ($size_is) * sizeof(*$o$e->{NAME}));");
+ $self->pidl("memcpy(discard_const_p(uint8_t *, $o$e->{NAME}), ${r}out.$e->{NAME}, ($size_is) * sizeof(*$o$e->{NAME}));");
} else {
$self->pidl("memcpy($o$e->{NAME}, ${r}out.$e->{NAME}, ($size_is) * sizeof(*$o$e->{NAME}));");
}