mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-27 12:14:32 +00:00
use union sigval instead of sigval_t for mod_posix_timer
This commit is contained in:
parent
1815d4d06f
commit
8f05f098cf
@ -59,7 +59,7 @@ static struct {
|
|||||||
/**
|
/**
|
||||||
* Notified by POSIX timer of a tick
|
* 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;
|
interval_timer_t *it = (interval_timer_t *)data.sival_ptr;
|
||||||
switch_mutex_lock(it->mutex);
|
switch_mutex_lock(it->mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user