From 089f3843c5eadc792f9f8399bf3df45601621b2c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Nov 2004 19:21:55 +0000 Subject: r3967: fix compiler warnings metze (This used to be commit 3f2c3ce2f0d11ea9f3c058690e0bb14d590c714c) --- source4/torture/local/messaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/local/messaging.c') diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c index 303ffa8fe9..1bf8de15fe 100644 --- a/source4/torture/local/messaging.c +++ b/source4/torture/local/messaging.c @@ -91,8 +91,8 @@ static BOOL test_ping_speed(TALLOC_CTX *mem_ctx) DATA_BLOB data; NTSTATUS status1, status2; - data.data = discard_const_p(char, "testing"); - data.length = strlen(data.data); + data.data = discard_const_p(void, "testing"); + data.length = strlen((const char *)data.data); status1 = messaging_send(msg_ctx, 1, MY_PING, &data); status2 = messaging_send(msg_ctx, 1, MY_PING, NULL); -- cgit