aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-10 20:44:01 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-10 20:44:01 +0300
commitabef1b01eda902b24ece456d4e3fa833add9dcbc (patch)
treed6e9323617f3b25d20b13d70e4a7d6f36e3ce7fc
parentd84b96bb7d4d5a12f3d027cd532d7ec89a1a7e86 (diff)
downloadlibmicrohttpd-abef1b01eda902b24ece456d4e3fa833add9dcbc.tar.gz
libmicrohttpd-abef1b01eda902b24ece456d4e3fa833add9dcbc.zip
mhd_sockets.h: minor micros fixes
-rw-r--r--src/microhttpd/mhd_sockets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 62ea46d5..a684d71d 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -276,7 +276,7 @@
276 * @return ssize_t type value 276 * @return ssize_t type value
277 */ 277 */
278#define MHD_send_(s,b,l) \ 278#define MHD_send_(s,b,l) \
279 ((ssize_t)send((s),(const void*)(b),((MHD_SCKT_SEND_SIZE_)l), MAYBE_MSG_NOSIGNAL)) 279 ((ssize_t)send((s),(const void*)(b),(MHD_SCKT_SEND_SIZE_)(l), MAYBE_MSG_NOSIGNAL))
280 280
281 281
282/** 282/**
@@ -287,7 +287,7 @@
287 * @return ssize_t type value 287 * @return ssize_t type value
288 */ 288 */
289#define MHD_recv_(s,b,l) \ 289#define MHD_recv_(s,b,l) \
290 ((ssize_t)recv((s),(void*)(b),((MHD_SCKT_SEND_SIZE_)l), 0)) 290 ((ssize_t)recv((s),(void*)(b),(MHD_SCKT_SEND_SIZE_)(l), 0))
291 291
292 292
293/** 293/**