From 61e74caebf34fb21cf49620151f3fb7c3d94501b Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Wed, 11 Aug 2010 16:11:46 +0000 Subject: added parentheses around ored constants to stop warning in _WIN32 version svn path=/trunk/externals/mrpeach/; revision=13786 --- net/udpsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/udpsend.c b/net/udpsend.c index fe8943e..9c84f2b 100644 --- a/net/udpsend.c +++ b/net/udpsend.c @@ -395,7 +395,7 @@ static void udpsend_sock_err(t_udpsend *x, char *err_string) int len = 0, i; char *cp; - if (len = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS + if (len = FormatMessageA((FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS) , NULL, errornumber, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&lpMsgBuf, 0, NULL)) { cp = (char *)lpMsgBuf; -- cgit v1.2.1