]> git.samba.org - kai/samba.git/commitdiff
r22619: fix pidl warnings
authorStefan Metzmacher <metze@samba.org>
Tue, 1 May 2007 02:01:45 +0000 (02:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:53 +0000 (14:51 -0500)
metze
(This used to be commit 4105e3db317b124bb9c708d508895756c9c0c5a3)

source4/librpc/idl/irpc.idl

index eb3d159c7db190c2c789ef54db4ab403a3203d6e..0a534940493c062ecaecfb50d3fccfbf15a054d1 100644 (file)
@@ -43,7 +43,7 @@ import "security.idl", "nbt.idl";
                hyper release_count;
        } nbtd_statistics;
 
-       typedef union {
+       typedef [switch_type(nbtd_info_level)] union {
                [case(NBTD_INFO_STATISTICS)] nbtd_statistics *stats;
        } nbtd_info;
 
@@ -114,7 +114,7 @@ import "security.idl", "nbt.idl";
                [size_is(num_tcons)] smbsrv_tcon_info *tcons;
        } smbsrv_tcons;
 
-       typedef union {
+       typedef [switch_type(smbsrv_info_level)] union {
                [case(SMBSRV_INFO_SESSIONS)] smbsrv_sessions sessions;
                [case(SMBSRV_INFO_TCONS)]    smbsrv_tcons    tcons;
        } smbsrv_info;