aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-11 11:31:22 +0000
committerOmar Polo <op@omarpolo.com>2023-06-11 11:31:22 +0000
commitb8d68fc8e49b3eeac2ba3106e9694ef463a646e1 (patch)
treee3dace75ff4ba9c65e28678be0ea20b5dcc48e79 /server.c
parentd1739e3f03a014fa9baded61a49eeb49293c751f (diff)
fixes for -Wpointer-sign
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.c b/server.c
index b29249f..5048212 100644
--- a/server.c
+++ b/server.c
@@ -1190,7 +1190,8 @@ start_reply(struct client *c, int code, const char *meta)
bufferevent_write(c->bev, "\r\n", 2);
if (!vhost_disable_log(c->host, c->iri.path))
- log_request(c, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb));
+ log_request(c, (char *)EVBUFFER_DATA(evb),
+ EVBUFFER_LENGTH(evb));
if (code != 20)
c->type = REQUEST_DONE;