From 1e2e421632c275f8cf7529935f72ef3639ddea14 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 21 Oct 2013 08:40:28 +0200 Subject: librpc-idl: replace int32 by uint32 as the values are always > 0 Signed-off-by: Stefan Metzmacher Reviewed-by: Stefan Metzmacher --- librpc/idl/drsuapi.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index 297db08e06..7e3d34317e 100644 --- a/librpc/idl/drsuapi.idl +++ b/librpc/idl/drsuapi.idl @@ -1119,7 +1119,7 @@ interface drsuapi drsuapi_DsGetDCInfoCtrLevels level; /* specifies the switch level for the request */ } drsuapi_DsGetDCInfoRequest1; - typedef [switch_type(int32)] union { + typedef [switch_type(uint32)] union { [case(1)] drsuapi_DsGetDCInfoRequest1 req1; } drsuapi_DsGetDCInfoRequest; @@ -1220,7 +1220,7 @@ interface drsuapi WERROR drsuapi_DsGetDomainControllerInfo( [in] policy_handle *bind_handle, - [in] int32 level, + [in] uint32 level, [in,ref,switch_is(level)] drsuapi_DsGetDCInfoRequest *req, [out,ref] drsuapi_DsGetDCInfoCtrLevels *level_out, [out,ref,switch_is(*level_out)] drsuapi_DsGetDCInfoCtr *ctr -- cgit