fix a warning
[src/app-framework-binder.git] / 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 }
 };