diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-09-03 15:42:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-09-03 17:00:17 +0200 |
commit | 8740caece0a236d7db4c8efa757766532b06691b (patch) | |
tree | c992b70b2b67947116aa82ffa649e1deb37d2a62 /source4/lib/messaging/tests | |
parent | 705f4c205685b0a167402ff54e37abd75b92a72d (diff) | |
download | samba-8740caece0a236d7db4c8efa757766532b06691b.tar.gz samba-8740caece0a236d7db4c8efa757766532b06691b.tar.bz2 samba-8740caece0a236d7db4c8efa757766532b06691b.zip |
s4:lib/messaging/tests: fix some compiler warnings
metze
Diffstat (limited to 'source4/lib/messaging/tests')
-rw-r--r-- | source4/lib/messaging/tests/irpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/messaging/tests/irpc.c b/source4/lib/messaging/tests/irpc.c index 44a116af1f..97148f35e0 100644 --- a/source4/lib/messaging/tests/irpc.c +++ b/source4/lib/messaging/tests/irpc.c @@ -57,8 +57,8 @@ static void deferred_echodata(struct tevent_context *ev, struct tevent_timer *te struct timeval t, void *private_data) { struct irpc_message *irpc = talloc_get_type(private_data, struct irpc_message); - struct echo_EchoData *r = irpc->data; - r->out.out_data = talloc_memdup(r, r->in.in_data, r->in.len); + struct echo_EchoData *r = (struct echo_EchoData *)irpc->data; + r->out.out_data = (uint8_t *)talloc_memdup(r, r->in.in_data, r->in.len); if (r->out.out_data == NULL) { irpc_send_reply(irpc, NT_STATUS_NO_MEMORY); } |