summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-10-21 08:40:28 +0200
committerMatthieu Patou <mat@matws.net>2013-10-26 16:33:07 -0700
commit1e2e421632c275f8cf7529935f72ef3639ddea14 (patch)
tree36320533fb8a18db34868d3bf4c7769bc621d9e6 /librpc/idl
parent568bf16dfadb4bd3003ed18b19098a3d1473f2fe (diff)
downloadsamba-1e2e421632c275f8cf7529935f72ef3639ddea14.tar.gz
samba-1e2e421632c275f8cf7529935f72ef3639ddea14.tar.bz2
samba-1e2e421632c275f8cf7529935f72ef3639ddea14.zip
librpc-idl: replace int32 by uint32 as the values are always > 0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/drsuapi.idl4
1 files 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