mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Ensure we enclose the enum values in brackets to make the cast work.
Jeremy.
This commit is contained in:
parent
b92c399d97
commit
02dc4a1e4e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user