summaryrefslogtreecommitdiff
path: root/ace/Timer_Heap.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-24 14:33:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-24 14:33:36 +0000
commit6cc28ee4e6a169bb49f1d412a7f46e3140035150 (patch)
tree8c9fc4435c28b6f7f963d4196797c896c9f75385 /ace/Timer_Heap.cpp
parent5d44edc6663ea401b8e48f4c640db2c0338653cc (diff)
downloadATCD-6cc28ee4e6a169bb49f1d412a7f46e3140035150.tar.gz
(copy): added cast of max_size_ to int to avoid signed/unsigned comparison
Diffstat (limited to 'ace/Timer_Heap.cpp')
-rw-r--r--ace/Timer_Heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Timer_Heap.cpp b/ace/Timer_Heap.cpp
index b03ae7b859b..e2b9804c0a7 100644
--- a/ace/Timer_Heap.cpp
+++ b/ace/Timer_Heap.cpp
@@ -188,7 +188,7 @@ ACE_Timer_Heap::copy (int index, ACE_Timer_Node *moved_node)
this->heap_[index] = moved_node;
ACE_ASSERT (moved_node->timer_id_ >= 0
- && moved_node->timer_id_ < this->max_size_);
+ && moved_node->timer_id_ < (int) this->max_size_);
// Update the corresponding slot in the parallel <timer_ids_> array.
this->timer_ids_[moved_node->timer_id_] = index;
}