summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-websock.c2
1 files changed, 1 insertions, 1 deletions
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 }
};