summaryrefslogtreecommitdiff
path: root/source4/build/pidl/ndr.pm
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-02 05:17:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:24 -0500
commit50388800f0b6dc6614126c7c96b0cc0b20461951 (patch)
treede6c276025a479205c997338b3491f345248223e /source4/build/pidl/ndr.pm
parent19a154fe2b3c8f1d78ed4052a31f88f27d06b8b3 (diff)
downloadsamba-50388800f0b6dc6614126c7c96b0cc0b20461951.tar.gz
samba-50388800f0b6dc6614126c7c96b0cc0b20461951.tar.bz2
samba-50388800f0b6dc6614126c7c96b0cc0b20461951.zip
r7187: fix alignment of unions
metze (This used to be commit b9e50a47f165ba120cd99f2a2b25256b6420681b)
Diffstat (limited to 'source4/build/pidl/ndr.pm')
-rw-r--r--source4/build/pidl/ndr.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/ndr.pm b/source4/build/pidl/ndr.pm
index 69e65c0697..b41d130011 100644
--- a/source4/build/pidl/ndr.pm
+++ b/source4/build/pidl/ndr.pm
@@ -273,7 +273,8 @@ sub ParseElement($)
NAME => $e->{NAME},
TYPE => $e->{TYPE},
PROPERTIES => $e->{PROPERTIES},
- LEVELS => GetElementLevelTable($e)
+ LEVELS => GetElementLevelTable($e),
+ ALIGN => align_type($e->{TYPE})
};
}