You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/03/19 20:21:16 UTC

svn commit: r756144 - /activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp

Author: tabish
Date: Thu Mar 19 19:21:15 2009
New Revision: 756144

URL: http://svn.apache.org/viewvc?rev=756144&view=rev
Log:
Changes needed to build on Windows

Modified:
    activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp?rev=756144&r1=756143&r2=756144&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/atomic/AtomicReferenceTest.cpp Thu Mar 19 19:21:15 2009
@@ -134,7 +134,7 @@
 void AtomicReferenceTest::testToString() {
     int value;
     AtomicReference<int> ai;
-    CPPUNIT_ASSERT( ai.toString() == Integer::toString( 0 ) );
+    CPPUNIT_ASSERT( ai.toString() == Long::toString( 0 ) );
     ai.set( &value );
-    CPPUNIT_ASSERT( ai.toString() == Integer::toString( (long long)&value ) );
+    CPPUNIT_ASSERT( ai.toString() == Long::toString( (long long)&value ) );
 }