mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-09 16:21:13 +00:00
Remove pointer casting, not needed and forbidden in ISO C
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
6447c74722
commit
fe9b7264d0
1 file changed
+1
-1
@@ -68,7 +68,7 @@ int uev_watcher_init(uev_ctx_t *ctx, uev_t *w, uev_type_t type, uev_cb_t *cb, vo
|
|||||||
w->type = type;
|
w->type = type;
|
||||||
w->active = 0;
|
w->active = 0;
|
||||||
w->fd = fd;
|
w->fd = fd;
|
||||||
w->cb = (void *)cb;
|
w->cb = cb;
|
||||||
w->arg = arg;
|
w->arg = arg;
|
||||||
w->events = events;
|
w->events = events;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user