activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r588020 - in /activemq/activemq-cpp/trunk/src/main/activemq/util: LongSequenceGenerator.cpp LongSequenceGenerator.h
Date Wed, 24 Oct 2007 21:02:12 GMT
Author: tabish
Date: Wed Oct 24 14:02:11 2007
New Revision: 588020

URL: http://svn.apache.org/viewvc?rev=588020&view=rev
Log:
Fixing windows warnings

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.h

Modified: activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.cpp?rev=588020&r1=588019&r2=588020&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.cpp Wed Oct 24
14:02:11 2007
@@ -28,7 +28,7 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int LongSequenceGenerator::getNextSequenceId() {
+long long LongSequenceGenerator::getNextSequenceId() {
     synchronized( &mutex ) {
         return this->lastSequenceId++;
     }
@@ -37,7 +37,7 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int LongSequenceGenerator::getLastSequenceId() {
+long long LongSequenceGenerator::getLastSequenceId() {
     synchronized( &mutex ) {
         return this->lastSequenceId;
     }

Modified: activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.h?rev=588020&r1=588019&r2=588020&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/util/LongSequenceGenerator.h Wed Oct 24
14:02:11 2007
@@ -43,12 +43,12 @@
         /**
          * @returns the next id in the sequence.
          */
-        int getNextSequenceId();
+        long long getNextSequenceId();
 
         /**
          * @returns the last id that was generated.
          */
-        int getLastSequenceId();
+        long long getLastSequenceId();
 
     };
 



Mime
View raw message