summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/pidl/header.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index 0deead29ff..9f16c2655f 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -206,7 +206,7 @@ sub HeaderDeclare($)
my($declare) = shift;
if ($declare->{DATA}->{TYPE} eq "ENUM") {
- util::enum_bitmap($declare, $declare->{NAME});
+ util::register_enum($declare, $declare->{NAME});
} elsif ($declare->{DATA}->{TYPE} eq "BITMAP") {
util::register_bitmap($declare, $declare->{NAME});
}