server: Make timer callback function and argument client_ptr_t instead of void pointers.
diff --git a/server/timer.c b/server/timer.c
index 5afe663..b38eae7 100644
--- a/server/timer.c
+++ b/server/timer.c
@@ -46,8 +46,8 @@
timeout_t when; /* next expiration */
struct timeout_user *timeout; /* timeout user */
struct thread *thread; /* thread that set the APC function */
- void *callback; /* callback APC function */
- void *arg; /* callback argument */
+ client_ptr_t callback; /* callback APC function */
+ client_ptr_t arg; /* callback argument */
};
static void timer_dump( struct object *obj, int verbose );
@@ -160,7 +160,7 @@
/* set the timer expiration and period */
static int set_timer( struct timer *timer, timeout_t expire, unsigned int period,
- void *callback, void *arg )
+ client_ptr_t callback, client_ptr_t arg )
{
int signaled = cancel_timer( timer );
if (timer->manual)