提交 8f05f098 authored 作者: Christopher Rienzo's avatar Christopher Rienzo

use union sigval instead of sigval_t for mod_posix_timer

上级 1815d4d0
...@@ -59,7 +59,7 @@ static struct { ...@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论