1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s4/idl: DsWriteAccountSpn - switch types should be unsigned

Changes also propagated into source code as they are
too minor to be done in separate commit

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Kamen Mazdrashki 2010-03-05 23:03:21 +02:00 committed by Stefan Metzmacher
parent 88494b2b62
commit d07883ed86

View File

@ -1006,7 +1006,7 @@ interface drsuapi
[size_is(count)] drsuapi_DsNameString *spn_names;
} drsuapi_DsWriteAccountSpnRequest1;
typedef [switch_type(int32)] union {
typedef [switch_type(uint32)] union {
[case(1)] drsuapi_DsWriteAccountSpnRequest1 req1;
} drsuapi_DsWriteAccountSpnRequest;
@ -1014,15 +1014,15 @@ interface drsuapi
WERROR status;
} drsuapi_DsWriteAccountSpnResult1;
typedef [switch_type(int32)] union {
typedef [switch_type(uint32)] union {
[case(1)] drsuapi_DsWriteAccountSpnResult1 res1;
} drsuapi_DsWriteAccountSpnResult;
WERROR drsuapi_DsWriteAccountSpn(
[in] policy_handle *bind_handle,
[in] int32 level,
[in] uint32 level,
[in,ref,switch_is(level)] drsuapi_DsWriteAccountSpnRequest *req,
[out,ref] int32 *level_out,
[out,ref] uint32 *level_out,
[out,ref,switch_is(*level_out)] drsuapi_DsWriteAccountSpnResult *res
);