aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-25 20:54:47 +0000
committerng0 <ng0@n0.is>2019-07-25 20:54:47 +0000
commitaf387e7c28e930d93164edac4edf1bd07b2d83c5 (patch)
tree4c4b3053783c8cfd10babf7009002f37c50555d1
parent5880cd0cd3179e422150c2e2ee01778fda447108 (diff)
downloadlibmicrohttpd-af387e7c28e930d93164edac4edf1bd07b2d83c5.tar.gz
libmicrohttpd-af387e7c28e930d93164edac4edf1bd07b2d83c5.zip
don't cast
-rw-r--r--src/microhttpd/mhd_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 6cbf9c90..5a8d9283 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -455,7 +455,7 @@ sendfile_adapter (struct MHD_Connection *connection)
455 size_t send_size = 0; 455 size_t send_size = 0;
456 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender); 456 mhd_assert (MHD_resp_sender_sendfile == connection->resp_sender);
457 457
458 (void) pre_cork_setsockopt (connection, false); 458 pre_cork_setsockopt (connection, false);
459 459
460 offsetu64 = connection->response_write_position + connection->response->fd_off; 460 offsetu64 = connection->response_write_position + connection->response->fd_off;
461 left = connection->response->total_size - connection->response_write_position; 461 left = connection->response->total_size - connection->response_write_position;
@@ -596,7 +596,7 @@ sendfile_adapter (struct MHD_Connection *connection)
596 ret = (ssize_t)len; 596 ret = (ssize_t)len;
597#endif /* HAVE_FREEBSD_SENDFILE */ 597#endif /* HAVE_FREEBSD_SENDFILE */
598 598
599 (void) post_cork_setsockopt (connection, false); 599 post_cork_setsockopt (connection, false);
600 600
601 return ret; 601 return ret;
602} 602}