]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use union sigval instead of sigval_t for mod_posix_timer
authorChristopher Rienzo <chris@rienzo.net>
Tue, 7 Feb 2012 16:45:54 +0000 (16:45 +0000)
committerChristopher Rienzo <chris@rienzo.net>
Tue, 7 Feb 2012 16:45:54 +0000 (16:45 +0000)
src/mod/timers/mod_posix_timer/mod_posix_timer.c

index 1ba3e23015127741d78287901e29c6785fa5cf02..425e98c93dea42ce6714f57217a961b6defed9ae 100644 (file)
@@ -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);