diff options
author | Günther Deschner <gd@samba.org> | 2009-11-27 16:06:40 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-12-08 09:15:11 +0100 |
commit | df61f748b2154c69d039358d9eeed42e4c0f6ef0 (patch) | |
tree | 22582044de0bfdaa1a016c67d6ae3b937be20f52 /pidl | |
parent | 5bac8754233f2d25aac63f6c0121d170294145ba (diff) | |
download | samba-df61f748b2154c69d039358d9eeed42e4c0f6ef0.tar.gz |
pidl: fix handling of output arguments in s3 client stubs.
a20e095 used (uint8_t) instead of (uint8_t *).
Guenther
(cherry picked from commit 79f82998b1aa8349f76a4c82c17daf7e03cdb41a)
(cherry picked from commit 8f1361e627aba9ef3f207cb9a38c4394bd55ccff)
Diffstat (limited to 'pidl')
-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 b26a08e0292..68579d2c9a9 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}));"); } |