summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Header.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Header.pm b/pidl/lib/Parse/Pidl/Samba4/Header.pm
index bb497bb3a7..be1df4b118 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Header.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Header.pm
@@ -128,7 +128,9 @@ sub HeaderEnum($$;$)
if (@enum_els == 2) {
pidl $enum_els[0];
pidl "=(int)";
+ pidl "(";
pidl $enum_els[1];
+ pidl ")";
} else {
pidl $e;
}