activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1370043 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp
Date Mon, 06 Aug 2012 22:11:39 GMT
Author: tabish
Date: Mon Aug  6 22:11:39 2012
New Revision: 1370043

URL: http://svn.apache.org/viewvc?rev=1370043&view=rev
Log:
Fix toOctalString

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp?rev=1370043&r1=1370042&r2=1370043&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Long.cpp Mon Aug  6 22:11:39
2012
@@ -424,7 +424,7 @@ std::string Long::toOctalString( long lo
     char* buffer = new char[length + 1];
 
     do {
-        buffer[--count] = (char)( (value & 7) + '0' );
+        buffer[--count] = (char)( (uvalue & 7) + '0' );
         uvalue >>= 3;
     } while( count > 0 );
 



Mime
View raw message