From 7d21e07e79bd97b341d489746cc325107153a24b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 4 May 2017 17:07:39 +0200 Subject: [PATCH] fix a warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Iaebb861a56a490decdca0eada52e26b902457d1d Signed-off-by: José Bollo --- src/afb-websock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afb-websock.c b/src/afb-websock.c index 765624d9..277c9df5 100644 --- a/src/afb-websock.c +++ b/src/afb-websock.c @@ -224,7 +224,7 @@ static int check_websocket_upgrade(struct MHD_Connection *con, const struct prot } static const struct protodef protodefs[] = { - { "x-afb-ws-json1", afb_ws_json1_create }, + { "x-afb-ws-json1", (void*)afb_ws_json1_create }, { NULL, NULL } }; -- 2.16.6