- For #1318: Fix compile warnings for DoH compile on windows.

This commit is contained in:
W.C.A. Wijngaards 2025-08-22 10:04:00 +02:00
parent 65be1d0ec3
commit ebfa09e04f
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
22 August 2025: Wouter
- For #1318: Fix compile warnings for DoH compile on windows.
21 August 2025: Wouter
- Fix to check for extraneous command arguments for unbound-control,
when the command takes no arguments but there are arguments present.

View file

@ -5194,7 +5194,7 @@ ssize_t http2_recv_cb(nghttp2_session* ATTR_UNUSED(session), uint8_t* buf,
}
#endif /* HAVE_SSL */
ret = recv(h2_session->c->fd, buf, len, MSG_DONTWAIT);
ret = recv(h2_session->c->fd, (void*)buf, len, MSG_DONTWAIT);
if(ret == 0) {
return NGHTTP2_ERR_EOF;
} else if(ret < 0) {
@ -5522,7 +5522,7 @@ ssize_t http2_send_cb(nghttp2_session* ATTR_UNUSED(session), const uint8_t* buf,
}
#endif /* HAVE_SSL */
ret = send(h2_session->c->fd, buf, len, 0);
ret = send(h2_session->c->fd, (void*)buf, len, 0);
if(ret == 0) {
return NGHTTP2_ERR_CALLBACK_FAILURE;
} else if(ret < 0) {