Remove pointer casting, not needed and forbidden in ISO C

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-22 01:37:46 +02:00
1 parent 6447c74722
commit fe9b7264d0
1 file changed
+1 -1
+1 -1
View File
@@ -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;