From 7104da3e8f678c85c17c74476ab64391067e72fe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 8 Jun 2005 15:40:23 +0000 Subject: r7399: Try to get the AIX compile one step further. Volker (This used to be commit 75dbd2069335af95b225716e06ea594013dea895) --- source4/librpc/idl/nbt.idl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source4') diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index b9061778bf..a7a5256752 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -284,9 +284,7 @@ [switch_is(smb_command)] smb_body body; } dgram_smb_packet; - typedef [v1_enum] enum { - DGRAM_SMB = 0xff534d42 /* 0xffSMB */ - } dgram_body_type; + const uint32 DGRAM_SMB = 0xff534d42; /* 0xffSMB */ typedef [nodiscriminant] union { [case(DGRAM_SMB)] dgram_smb_packet smb; @@ -297,7 +295,7 @@ uint16 offset; nbt_name source_name; nbt_name dest_name; - dgram_body_type dgram_body_type; + uint32 dgram_body_type; [switch_is(dgram_body_type)] dgram_message_body body; } dgram_message; -- cgit