activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r564684 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
Date Fri, 10 Aug 2007 17:16:29 GMT
Author: tabish
Date: Fri Aug 10 10:16:26 2007
New Revision: 564684

URL: http://svn.apache.org/viewvc?view=rev&rev=564684
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Implementing the Primitive Wrappers fully

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp?view=diff&rev=564684&r1=564683&r2=564684
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
Fri Aug 10 10:16:26 2007
@@ -197,7 +197,7 @@
     end = Math::max( (int)newValue.find_first_of( 'E' ),
                      (int)newValue.find_first_of( 'e' ) );
 
-    if( end > -1 ) {
+    if( (std::size_t)end != string::npos ) {
 
         if( end + 1 == length ) {
             if( length == 0 ) {



Mime
View raw message