From: Christopher Rienzo Date: Tue, 7 Feb 2012 16:45:54 +0000 (+0000) Subject: use union sigval instead of sigval_t for mod_posix_timer X-Git-Tag: v1.2-rc1~19^2^2~68^2~121^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f05f098cf04baf80d9c504f0090500a83d216a0;p=thirdparty%2Ffreeswitch.git use union sigval instead of sigval_t for mod_posix_timer --- diff --git a/src/mod/timers/mod_posix_timer/mod_posix_timer.c b/src/mod/timers/mod_posix_timer/mod_posix_timer.c index 1ba3e23015..425e98c93d 100644 --- a/src/mod/timers/mod_posix_timer/mod_posix_timer.c +++ b/src/mod/timers/mod_posix_timer/mod_posix_timer.c @@ -59,7 +59,7 @@ static struct { /** * Notified by POSIX timer of a tick */ -static void posix_timer_notify(sigval_t data) +static void posix_timer_notify(union sigval data) { interval_timer_t *it = (interval_timer_t *)data.sival_ptr; switch_mutex_lock(it->mutex);