aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b4a192a9..f0ebd38d 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -1524,7 +1524,7 @@ send_iov_nontls (struct MHD_Connection *connection,
1524 mhd_assert (r_iov->cnt > r_iov->sent); 1524 mhd_assert (r_iov->cnt > r_iov->sent);
1525 /* The last iov element has been partially sent */ 1525 /* The last iov element has been partially sent */
1526 r_iov->iov[r_iov->sent].iov_base = 1526 r_iov->iov[r_iov->sent].iov_base =
1527 (void*) ((uint8_t*) r_iov->iov[r_iov->sent].iov_base + (size_t) res); 1527 (void *) ((uint8_t *) r_iov->iov[r_iov->sent].iov_base + (size_t) res);
1528 r_iov->iov[r_iov->sent].iov_len -= (MHD_iov_size_) res; 1528 r_iov->iov[r_iov->sent].iov_len -= (MHD_iov_size_) res;
1529 } 1529 }
1530 } 1530 }
@@ -1592,7 +1592,7 @@ send_iov_emu (struct MHD_Connection *connection,
1592 /* Incomplete buffer has been sent. 1592 /* Incomplete buffer has been sent.
1593 * Adjust buffer of the last element. */ 1593 * Adjust buffer of the last element. */
1594 r_iov->iov[r_iov->sent].iov_base = 1594 r_iov->iov[r_iov->sent].iov_base =
1595 (void*) ((uint8_t*) r_iov->iov[r_iov->sent].iov_base + (size_t) res); 1595 (void *) ((uint8_t *) r_iov->iov[r_iov->sent].iov_base + (size_t) res);
1596 r_iov->iov[r_iov->sent].iov_len -= res; 1596 r_iov->iov[r_iov->sent].iov_len -= res;
1597 1597
1598 return total_sent; 1598 return total_sent;