summaryrefslogtreecommitdiff
path: root/demo-json-rpc-server.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-01-16 22:16:01 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-01-16 22:16:01 +0100
commit5298d802bb728185855f76afd3d19fde0dd0cf53 (patch)
tree5fc4e791ebac35049aafad28681b8ddde210f2d4 /demo-json-rpc-server.c
parentaf3cb3aabad6b236dda5f421c9b694864a02883e (diff)
downloadjson-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.c4
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;