summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-08 16:54:08 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 17:32:40 +0100
commite0edc079bdb8c73a42af38f99726470366ff0527 (patch)
tree08fbbab11555fe917b15ac0a4c1bfc4c1a5531c0 /source4/torture
parent6bed89fa49f29d189de6f6fbd15de1c39c5715f9 (diff)
downloadsamba-e0edc079bdb8c73a42af38f99726470366ff0527.tar.gz
samba-e0edc079bdb8c73a42af38f99726470366ff0527.tar.bz2
samba-e0edc079bdb8c73a42af38f99726470366ff0527.zip
s4-smbtorture: fix build of svcctl torture test.
Guenther
Diffstat (limited to 'source4/torture')
-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++) {