diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-16 22:16:01 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-16 22:16:01 +0100 |
commit | 5298d802bb728185855f76afd3d19fde0dd0cf53 (patch) | |
tree | 5fc4e791ebac35049aafad28681b8ddde210f2d4 /demo-json-rpc-server.c | |
parent | af3cb3aabad6b236dda5f421c9b694864a02883e (diff) | |
download | json-rpc-shell-5298d802bb728185855f76afd3d19fde0dd0cf53.tar.gz json-rpc-shell-5298d802bb728185855f76afd3d19fde0dd0cf53.tar.xz json-rpc-shell-5298d802bb728185855f76afd3d19fde0dd0cf53.zip |
Fix compiler warning
Diffstat (limited to 'demo-json-rpc-server.c')
-rw-r--r-- | demo-json-rpc-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c index ab86c59..2e0b104 100644 --- a/demo-json-rpc-server.c +++ b/demo-json-rpc-server.c @@ -1167,7 +1167,7 @@ struct server_context static void initiate_quit (struct server_context *self); static void try_finish_quit (struct server_context *self); -static void on_quit_timeout (EV_P_ ev_watcher *watcher, int revents); +static void on_quit_timeout (EV_P_ ev_timer *watcher, int revents); static void close_listeners (struct server_context *self); static void @@ -2166,7 +2166,7 @@ try_finish_quit (struct server_context *self) } static void -on_quit_timeout (EV_P_ ev_watcher *watcher, int revents) +on_quit_timeout (EV_P_ ev_timer *watcher, int revents) { struct server_context *self = watcher->data; (void) loop; |