]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
Added many WXUNUSED, untabified once again.
[wxWidgets.git] / src / common / socket.cpp
index a38097d124f7d72a05c00f99fa744295e25fa0c2..89ac01b97d58cfafbfeec60345a28a0c99de206e 100644 (file)
@@ -653,7 +653,7 @@ bool wxSocketBase::_Wait(long seconds,
     {
       m_connected = FALSE;
       m_establishing = FALSE;
-      return (flags & GSOCK_LOST_FLAG);
+      return (flags & GSOCK_LOST_FLAG) != 0;
     }
 
     // Wait more?