diff options
author | Günther Deschner <gd@samba.org> | 2009-11-27 16:06:40 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-27 16:15:33 +0100 |
commit | 79f82998b1aa8349f76a4c82c17daf7e03cdb41a (patch) | |
tree | abe242e8580f9e96fe65b1a6da725384a00b7767 /pidl/lib | |
parent | 0cc45b47dc787abb2c3c31e4fc824798d9f3efe9 (diff) | |
download | samba-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')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 2 |
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}));"); } |