You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by nm...@apache.org on 2007/01/27 17:50:39 UTC

svn commit: r500563 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp

Author: nmittler
Date: Sat Jan 27 08:50:39 2007
New Revision: 500563

URL: http://svn.apache.org/viewvc?view=rev&rev=500563
Log:
[AMQCPP-58] - fixed compiler warning on msdev

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp?view=diff&rev=500563&r1=500562&r2=500563
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/network/TcpSocket.cpp Sat Jan 27 08:50:39 2007
@@ -145,7 +145,7 @@
         }
         
         // Create the socket.
-        checkResult( socketHandle = ::socket(AF_INET, SOCK_STREAM, 0) );
+        checkResult( (int)(socketHandle = ::socket(AF_INET, SOCK_STREAM, 0)) );
        
         // Check port value.
         if (port <= 0 || port > 65535) {