aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-08-11 16:11:46 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-08-11 16:11:46 +0000
commit61e74caebf34fb21cf49620151f3fb7c3d94501b (patch)
treeaf21cd2e8fd8e090db8b59befc970afc4a7d0b16
parent759f8f8f80ae5d9c5e6cd4e500456bd388777f1f (diff)
added parentheses around ored constants to stop warning in _WIN32 version
svn path=/trunk/externals/mrpeach/; revision=13786
-rw-r--r--net/udpsend.c2
1 files changed, 1 insertions, 1 deletions
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;