summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-04 17:07:39 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-04 17:07:39 +0200
commit7d21e07e79bd97b341d489746cc325107153a24b (patch)
treef9ee14a5ad555d951591bf39ecc6a551566178b9
parentab4955d02a15b13d5dcfdfe8de1529db6538ac27 (diff)
fix a warning
Change-Id: Iaebb861a56a490decdca0eada52e26b902457d1d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-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 }
};