summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/svcctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c
index 4097d825b1..7d8fc6b332 100644
--- a/source4/torture/rpc/svcctl.c
+++ b/source4/torture/rpc/svcctl.c
@@ -173,7 +173,7 @@ static bool test_EnumServicesStatus(struct torture_context *tctx, struct dcerpc_
int i;
NTSTATUS status;
uint32_t resume_handle = 0;
- struct ENUM_SERVICE_STATUS *service = NULL;
+ struct ENUM_SERVICE_STATUSW *service = NULL;
uint32_t bytes_needed = 0;
uint32_t services_returned = 0;
@@ -203,7 +203,7 @@ static bool test_EnumServicesStatus(struct torture_context *tctx, struct dcerpc_
torture_assert_ntstatus_ok(tctx, status, "EnumServicesStatus failed!");
torture_assert_werr_ok(tctx, r.out.result, "EnumServicesStatus failed");
- service = (struct ENUM_SERVICE_STATUS *)r.out.service;
+ service = (struct ENUM_SERVICE_STATUSW *)r.out.service;
}
for(i = 0; i < services_returned; i++) {