summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-10-21 08:40:28 +0200
committerKarolin Seeger <kseeger@samba.org>2015-01-11 14:03:09 +0100
commite8902692b591edb48d5f6a47a491ac09d1de9e26 (patch)
treee8bba28c89233315975ca198578354e95a48b832 /librpc
parent9dd858caebd66ca2a508c8b92224c6a45215a888 (diff)
downloadsamba-e8902692b591edb48d5f6a47a491ac09d1de9e26.tar.gz
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> (cherry picked from commit 1e2e421632c275f8cf7529935f72ef3639ddea14)
Diffstat (limited to 'librpc')
-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 297db08e067..7e3d34317ec 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