From 2c78837e34fdeaf3e31b6cf16a8f392b8a153ed9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 May 2007 02:01:45 +0000 Subject: r22619: fix pidl warnings metze (This used to be commit 4105e3db317b124bb9c708d508895756c9c0c5a3) --- source4/librpc/idl/irpc.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl/irpc.idl') diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl index eb3d159c7d..0a53494049 100644 --- a/source4/librpc/idl/irpc.idl +++ b/source4/librpc/idl/irpc.idl @@ -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; -- cgit