summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-04-04 14:23:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:24 -0500
commit638104dd4c429165f0eb3c332e4915372630a0ac (patch)
tree2e0ccf2d817a0e9640e0ef231fce154006f49e57
parentd2128c12496fd631f4769c3e51f129767a36b423 (diff)
downloadsamba-638104dd4c429165f0eb3c332e4915372630a0ac.tar.gz
samba-638104dd4c429165f0eb3c332e4915372630a0ac.tar.bz2
samba-638104dd4c429165f0eb3c332e4915372630a0ac.zip
r6190: fix gensize on unions
metze (This used to be commit 661e64e9ce91e8029e1a36ef6825e56e5460e32b)
-rw-r--r--source4/build/pidl/ndr_parser.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/ndr_parser.pm b/source4/build/pidl/ndr_parser.pm
index 5bb064c963..842402f430 100644
--- a/source4/build/pidl/ndr_parser.pm
+++ b/source4/build/pidl/ndr_parser.pm
@@ -1318,7 +1318,8 @@ sub ParseUnionNdrSize($)
if (my $flags = util::has_property($t, "flag")) {
pidl "flags |= $flags;";
}
- pidl "return ndr_size_union(r, flags, level, (ndr_push_union_fn_t)ndr_push_$t->{NAME});";
+
+ pidl "return ndr_size_union(r, flags, level, (ndr_push_flags_fn_t)ndr_push_$t->{NAME});";
}
#####################################################################