use union sigval instead of sigval_t for mod_posix_timer

This commit is contained in:
Christopher Rienzo 2012-02-07 16:45:54 +00:00
parent 1815d4d06f
commit 8f05f098cf
1 changed files with 1 additions and 1 deletions

View 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);