diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-11 11:31:22 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-11 11:31:22 +0000 |
commit | b8d68fc8e49b3eeac2ba3106e9694ef463a646e1 (patch) | |
tree | e3dace75ff4ba9c65e28678be0ea20b5dcc48e79 /server.c | |
parent | d1739e3f03a014fa9baded61a49eeb49293c751f (diff) |
fixes for -Wpointer-sign
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |