diff options
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index e85c4f20c7..57bb5c62b1 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -84,7 +84,7 @@ static void websrv_recv(struct stream_connection *conn, uint16_t flags) b = web->input.partial; while (!web->input.end_of_headers && (p=memchr(b.data, '\n', b.length))) { - const char *line = b.data; + const char *line = (const char *)b.data; *p = 0; if (p != b.data && p[-1] == '\r') { p[-1] = 0; |