mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 12:14:13 +00:00
use union sigval instead of sigval_t for mod_posix_timer
This commit is contained in:
1 parent
1815d4d06f
commit
8f05f098cf
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user