[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-commits
Subject: svn commit: r799431 -
From: tabish () apache ! org
Date: 2009-07-30 19:54:20
Message-ID: 20090730195421.1966423888D0 () eris ! apache ! org
[Download RAW message or body]
Author: tabish
Date: Thu Jul 30 19:54:20 2009
New Revision: 799431
URL: http://svn.apache.org/viewvc?rev=799431&view=rev
Log:
Fix warnings on Windows
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/TimerTaskHeap.cpp
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/TimerTaskHeap.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/TimerTaskHeap.cpp?rev=799431&r1=799430&r2=799431&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/TimerTaskHeap.cpp \
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/TimerTaskHeap.cpp \
Thu Jul 30 19:54:20 2009 @@ -70,8 +70,8 @@
////////////////////////////////////////////////////////////////////////////////
void TimerTaskHeap::upHeap() {
- int current = heap.size() - 1;
- int parent = ( current - 1 ) / 2;
+ std::size_t current = heap.size() - 1;
+ std::size_t parent = ( current - 1 ) / 2;
while( heap[current]->when < heap[parent]->when) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic