diff options
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r-- | source4/build/pidl/util.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm index c18fe031f9..192d56316a 100644 --- a/source4/build/pidl/util.pm +++ b/source4/build/pidl/util.pm @@ -329,10 +329,9 @@ sub c_pull_prefix($) return "&"; } - if ($e->{TYPE} =~ "unistr.*") { - return "&"; - } - if ($e->{TYPE} =~ "nstring.*") { + if ($e->{TYPE} =~ "unistr.*" || + $e->{TYPE} =~ "nstring.*" || + $e->{TYPE} =~ "lstring.*") { return "&"; } |