summaryrefslogtreecommitdiffstats
path: root/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-01 13:10:04 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-01 18:35:22 +0100
commit34b7b552e85fddedf012af90eb13a4cfdcc16a74 (patch)
tree1833b299cf530cfdc98fa6915f958b4cb67b72e3 /pidl
parent1c9cf16c95cc033920c78686cdadfea8035cb563 (diff)
downloadsamba-34b7b552e85fddedf012af90eb13a4cfdcc16a74.tar.gz
samba-34b7b552e85fddedf012af90eb13a4cfdcc16a74.tar.xz
samba-34b7b552e85fddedf012af90eb13a4cfdcc16a74.zip
pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
metze
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 69c1386625..075ad8516e 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -1857,7 +1857,7 @@ sub ParseUnionPullPrimitives($$$$$)
if (defined($e->{ALIGN})) {
if ($e->{IS_MS_UNION}) {
$self->pidl("/* ms_union is always aligned to the largest union arm*/");
- $self->pidl("NDR_CHECK(ndr_push_align($ndr, $e->{ALIGN}));");
+ $self->pidl("NDR_CHECK(ndr_pull_align($ndr, $e->{ALIGN}));");
} else {
$self->pidl("NDR_CHECK(ndr_pull_union_align($ndr, $e->{ALIGN}));");
}