From d22eaddf95386081e6ae41fd770142f9ba159ca1 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 5 Mar 2010 22:37:44 +0200 Subject: [PATCH] s4/idl: DsCrackNames - switch types should be unsigned Signed-off-by: Stefan Metzmacher --- librpc/idl/drsuapi.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index dbbb4f133b1..b869325a8e2 100644 --- a/librpc/idl/drsuapi.idl +++ b/librpc/idl/drsuapi.idl @@ -963,7 +963,7 @@ interface drsuapi [size_is(count)] drsuapi_DsNameString *names; } drsuapi_DsNameRequest1; - typedef [switch_type(int32)] union { + typedef [switch_type(uint32)] union { [case(1)] drsuapi_DsNameRequest1 req1; } drsuapi_DsNameRequest; @@ -978,15 +978,15 @@ interface drsuapi [size_is(count)] drsuapi_DsNameInfo1 *array; } drsuapi_DsNameCtr1; - typedef [switch_type(int32)] union { + typedef [switch_type(uint32)] union { [case(1)] drsuapi_DsNameCtr1 *ctr1; } drsuapi_DsNameCtr; WERROR drsuapi_DsCrackNames( [in] policy_handle *bind_handle, - [in] int32 level, + [in] uint32 level, [in,ref,switch_is(level)] drsuapi_DsNameRequest *req, - [out,ref] int32 *level_out, + [out,ref] uint32 *level_out, [out,ref,switch_is(*level_out)] drsuapi_DsNameCtr *ctr ); -- 2.11.4.GIT