diff options
-rw-r--r-- | source4/build/pidl/Parse/Pidl/Samba/Header.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Samba/Header.pm b/source4/build/pidl/Parse/Pidl/Samba/Header.pm index 21b239b7b1..928b35d4ca 100644 --- a/source4/build/pidl/Parse/Pidl/Samba/Header.pm +++ b/source4/build/pidl/Parse/Pidl/Samba/Header.pm @@ -62,7 +62,7 @@ sub HeaderElement($) next if is_constant($_); $numstar++; } - $numstar-- if ($element->{TYPE} eq "string"); + $numstar-- if Parse::Pidl::Typelist::scalar_is_reference($element->{TYPE}); pidl "*" foreach (1..$numstar); pidl $element->{NAME}; foreach (@{$element->{ARRAY_LEN}}) { |