]> sourceware.org Git - newlib-cygwin.git/blobdiff - winsup/cygwin/fhandler_socket_inet.cc
Cygwin: avoid GCC 10 error with -Werror=parentheses
[newlib-cygwin.git] / winsup / cygwin / fhandler_socket_inet.cc
index 2b50671e533d70783cd1af00d8cc39e292e93ee8..71e92e341a2320c449c81b7be8757fcdc4b53365 100644 (file)
@@ -1378,7 +1378,7 @@ fhandler_socket_wsock::send_internal (struct _WSAMSG *wsamsg, int flags)
      buffer which only gets partially written. */
   for (DWORD in_idx = 0, in_off = 0;
        in_idx < wsamsg->dwBufferCount;
-       in_off >= wsamsg->lpBuffers[in_idx].len && (++in_idx, in_off = 0))
+       in_off >= wsamsg->lpBuffers[in_idx].len && (++in_idx, (in_off = 0)))
     {
       /* Split a message into the least number of pieces to minimize the
         number of WsaSendTo calls.  Don't split datagram messages (bad idea).
This page took 0.023914 seconds and 5 git commands to generate.