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 2007/08/10 19:16:29 UTC
svn commit: r564684 -
/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
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 ) {