X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-stub-ws.c;h=2a48745bb013579a552cd44c0c9bb42387402fa5;hb=eaf5670e9d10b5d7c066043e7563706cf1e01bd5;hp=40addd0bb85987be0b49c557eb2bbed6177ca3c6;hpb=0fd887b7ab896e47b2f7ffe78f41738f3824a962;p=src%2Fapp-framework-binder.git diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c index 40addd0b..2a48745b 100644 --- a/src/afb-stub-ws.c +++ b/src/afb-stub-ws.c @@ -316,7 +316,7 @@ static struct json_object *client_api_describe_cb(void * closure) /******************* server part: manage events **********************************/ -static void server_event_add_cb(void *closure, const char *event, int eventid) +static void server_event_add_cb(void *closure, const char *event, uint16_t eventid) { struct afb_stub_ws *stubws = closure; @@ -324,7 +324,7 @@ static void server_event_add_cb(void *closure, const char *event, int eventid) afb_proto_ws_server_event_create(stubws->proto, event, eventid); } -static void server_event_remove_cb(void *closure, const char *event, int eventid) +static void server_event_remove_cb(void *closure, const char *event, uint16_t eventid) { struct afb_stub_ws *stubws = closure; @@ -332,7 +332,7 @@ static void server_event_remove_cb(void *closure, const char *event, int eventid afb_proto_ws_server_event_remove(stubws->proto, event, eventid); } -static void server_event_push_cb(void *closure, const char *event, int eventid, struct json_object *object) +static void server_event_push_cb(void *closure, const char *event, uint16_t eventid, struct json_object *object) { struct afb_stub_ws *stubws = closure;