From 785822590cee196acd40e45fd38b1ffb0606757e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Sep 2006 11:43:59 +0000 Subject: r18516: I'm surprised that compilers allowed this at all (This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab) --- source4/torture/local/irpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/torture/local/irpc.c b/source4/torture/local/irpc.c index 91f1e2fe53..79c91cb3d2 100644 --- a/source4/torture/local/irpc.c +++ b/source4/torture/local/irpc.c @@ -81,12 +81,12 @@ static NTSTATUS irpc_EchoData(struct irpc_message *irpc, struct echo_EchoData *r test a addone call over the internal messaging system */ static BOOL test_addone(struct torture_context *test, const void *_data, - const void *_value) + const void *_value) { struct echo_AddOne r; NTSTATUS status; const struct irpc_test_data *data = _data; - uint32_t value = (uint32_t)value; + uint32_t value = (uint32_t)_value; /* make the call */ r.in.in_data = value; -- cgit