summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-06 20:47:09 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-07 09:56:22 +1100
commit2bf8a7485cf0733c808bc97a399a1c73bb988414 (patch)
treece07335e4304dfbe973b1da46ddeaecb19da53ac /pidl/lib/Parse/Pidl/NDR.pm
parenta4aa38f8b927d6713c4cdd921a0a27cded041e94 (diff)
downloadsamba-2bf8a7485cf0733c808bc97a399a1c73bb988414.tar.gz
samba-2bf8a7485cf0733c808bc97a399a1c73bb988414.tar.bz2
samba-2bf8a7485cf0733c808bc97a399a1c73bb988414.zip
pidl: get the alignment right for uint1632 enums (NDR64)
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
Diffstat (limited to 'pidl/lib/Parse/Pidl/NDR.pm')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index 48a4ccbc95..249b778389 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -50,6 +50,8 @@ my $scalar_alignment = {
'uint8' => 1,
'int16' => 2,
'uint16' => 2,
+ 'int1632' => 3,
+ 'uint1632' => 3,
'int32' => 4,
'uint32' => 4,
'int3264' => 5,