Fix g++ build for mongoose example

PUBLISHED_FROM=c581f33e26819d05c9b8484c9dc10c2a3615a34a
This commit is contained in:
Sergey Lyubka
2015-12-02 17:04:44 +00:00
parent d665d9e90e
commit f5ad19d76b
@@ -8,7 +8,7 @@ static struct mg_serve_http_opts s_http_server_opts;
static void ev_handler(struct mg_connection *nc, int ev, void *p) {
if (ev == MG_EV_HTTP_REQUEST) {
mg_serve_http(nc, p, s_http_server_opts);
mg_serve_http(nc, (struct http_message *) p, s_http_server_opts);
}
}