From c6073762fabe8a20d42bb325150a9aa7df7101ac Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Tue, 3 Dec 2013 23:27:07 +0100 Subject: [PATCH] fixed warnings in vtimer --- sys/vtimer/vtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vtimer/vtimer.c b/sys/vtimer/vtimer.c index 7ce397aae7..0994706e75 100644 --- a/sys/vtimer/vtimer.c +++ b/sys/vtimer/vtimer.c @@ -272,7 +272,7 @@ int vtimer_init() int vtimer_set_wakeup(vtimer_t *t, timex_t interval, int pid) { int ret; - t->action = (void *) thread_wakeup; + t->action = (void(*)(void *)) thread_wakeup; t->arg = (void *) pid; t->absolute = interval; t->pid = 0; @@ -311,7 +311,7 @@ int vtimer_remove(vtimer_t *t) int vtimer_set_msg(vtimer_t *t, timex_t interval, unsigned int pid, void *ptr) { - t->action = (void *) msg_send_int; + t->action = (void(*)(void *)) msg_send_int; t->arg = ptr; t->absolute = interval; t->pid = pid;