[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sptk-commits
Subject:    r1404 - trunk/src/net
From:       alexey () mail ! total-knowledge ! com
Date:       2010-12-06 21:29:43
Message-ID: courier.000000004CFD55C7.000067D1 () mail ! total-knowledge ! com
[Download RAW message or body]

Author: alexey
Date: 2010-12-06 13:29:43 -0800 (Mon, 06 Dec 2010)
New Revision: 1404

Modified:
   trunk/src/net/CAsyncSockets.epoll.cpp
Log:
Fixed compile warning


Modified: trunk/src/net/CAsyncSockets.epoll.cpp
===================================================================
--- trunk/src/net/CAsyncSockets.epoll.cpp	2010-12-06 21:27:09 UTC (rev 1403)
+++ trunk/src/net/CAsyncSockets.epoll.cpp	2010-12-06 21:29:43 UTC (rev 1404)
@@ -77,7 +77,7 @@
     for (;;) {
 
         if (runTimeoutMS > 0) {
-            timeoutMS = CDateTime::Now().diffSeconds(exitTime) * 1000;
+            timeoutMS = (int32_t) CDateTime::Now().diffSeconds(exitTime) * 1000;
             if (timeoutMS < 0)
                 break;
         }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic