summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r--source4/build/pidl/util.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm
index 244a78af09..c18fe031f9 100644
--- a/source4/build/pidl/util.pm
+++ b/source4/build/pidl/util.pm
@@ -198,8 +198,7 @@ sub type_align($)
my($e) = shift;
my $type = $e->{TYPE};
- if ($e->{POINTERS} || array_size($e)) {
- # FIXME: we really should recurse here
+ if (need_wire_pointer($e)) {
return 4;
}
@@ -214,6 +213,7 @@ sub type_align($)
return 2, if ($type eq "wchar_t");
return 4, if ($type eq "DATA_BLOB");
+ # it must be an external type - all we can do is guess
return 4;
}