From 86f76ea25c6a90cd1932689fd8ee7bf7158b0abb Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Thu, 6 Jul 2017 16:57:34 +0100 Subject: [PATCH] Add brackets around function macro arguments --- programs/ssl/ssl_mail_client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/programs/ssl/ssl_mail_client.c b/programs/ssl/ssl_mail_client.c index 8958f18f7..8a7850e91 100644 --- a/programs/ssl/ssl_mail_client.c +++ b/programs/ssl/ssl_mail_client.c @@ -57,8 +57,10 @@ #include #else #include -#define read(fd, buf, len) _read( fd, (void *)buf, (unsigned int)len ) -#define write(fd, buf, len) _write( fd, (const void *)buf, (unsigned int)len ) +#define read(fd, buf, len) \ + _read( fd, (void *)( buf ), (unsigned int)( len ) ) +#define write(fd, buf, len) \ + _write( fd, (const void *)( buf ), (unsigned int)( len ) ) #endif #if defined(_WIN32) || defined(_WIN32_WCE)