summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/messaging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c
index 1bf8de15fe..9c6f55a6c4 100644
--- a/source4/torture/local/messaging.c
+++ b/source4/torture/local/messaging.c
@@ -91,7 +91,7 @@ static BOOL test_ping_speed(TALLOC_CTX *mem_ctx)
DATA_BLOB data;
NTSTATUS status1, status2;
- data.data = discard_const_p(void, "testing");
+ data.data = discard_const_p(uint8_t, "testing");
data.length = strlen((const char *)data.data);
status1 = messaging_send(msg_ctx, 1, MY_PING, &data);