>From de4ceb6e6530ca71d715dffefe7de242ae1a2afa Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 20 Oct 2013 23:28:00 -0700 Subject: [PATCH 2/2] librpc-idl: replace int32 by uint32 as the values are always > 0 It also helps the generation of dissector for wireshark Signed-off-by: Matthieu Patou --- librpc/idl/drsuapi.idl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index d071cf4..b5d1afd 100644 --- a/librpc/idl/drsuapi.idl +++ b/librpc/idl/drsuapi.idl @@ -1144,7 +1144,7 @@ interface drsuapi typedef struct { [charset(UTF16),string] uint16 *domain_name; /* netbios or dns */ - int32 level; /* specifies the switch level for the request */ + uint32 level; /* specifies the switch level for the request */ } drsuapi_DsGetDCInfoRequest1; typedef [switch_type(drsuapi_DsGetDCInfoCtrLevels)] union { @@ -1248,9 +1248,9 @@ 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] int32 *level_out, + [out,ref] uint32 *level_out, [out,ref,switch_is(*level_out)] drsuapi_DsGetDCInfoCtr *ctr ); -- 1.8.1.2