fix a warning
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 4 May 2017 15:07:39 +0000 (17:07 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 4 May 2017 15:07:39 +0000 (17:07 +0200)
Change-Id: Iaebb861a56a490decdca0eada52e26b902457d1d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-websock.c

index 765624d..277c9df 100644 (file)
@@ -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 }
 };