diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-21 20:50:51 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-21 20:50:51 +0000 |
commit | e257fe69bb7a8f0400a725f656a9f0e343814a85 (patch) | |
tree | 0791883ae5f20cb66bb7c3338efacbe0ee0aacda /ace | |
parent | dd64cab2c4e3e8d46601efe231e408ac4fbfa414 (diff) | |
download | ATCD-e257fe69bb7a8f0400a725f656a9f0e343814a85.tar.gz |
Fixed signed/unsigned comparison errors
Diffstat (limited to 'ace')
-rw-r--r-- | ace/ReactorEx.cpp | 10 | ||||
-rw-r--r-- | ace/ReactorEx.i | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ace/ReactorEx.cpp b/ace/ReactorEx.cpp index 1c47598d5fb..0211d43b02b 100644 --- a/ace/ReactorEx.cpp +++ b/ace/ReactorEx.cpp @@ -96,7 +96,7 @@ ACE_ReactorEx_Handler_Repository::unbind_i (ACE_HANDLE handle, // Remember this value; only if it changes do we need to wakeup // the other threads - int original_handle_count = this->handles_to_be_deleted_; + size_t original_handle_count = this->handles_to_be_deleted_; // Go through all the handles looking for <handle>. Even if we find // it, we continue through the rest of the list since <handle> could @@ -221,7 +221,7 @@ ACE_ReactorEx_Handler_Repository::suspend_handler_i (ACE_HANDLE handle, { // Remember this value; only if it changes do we need to wakeup // the other threads - int original_handle_count = this->handles_to_be_suspended_; + size_t original_handle_count = this->handles_to_be_suspended_; // Go through all the handles looking for <handle>. Even if we find // it, we continue through the rest of the list since <handle> could @@ -255,7 +255,7 @@ ACE_ReactorEx_Handler_Repository::resume_handler_i (ACE_HANDLE handle, { // Remember this value; only if it changes do we need to wakeup // the other threads - int original_handle_count = this->handles_to_be_resumed_; + size_t original_handle_count = this->handles_to_be_resumed_; // Go through all the handles looking for <handle>. Even if we find // it, we continue through the rest of the list since <handle> could @@ -755,9 +755,9 @@ ACE_ReactorEx_Handler_Repository::add_network_events_i (ACE_Reactor_Mask mask, int &delete_event) { int found = 0; - + // First go through the current entries - int total_entries = this->max_handlep1_; + size_t total_entries = this->max_handlep1_; for (size_t i = 0; i < total_entries && !found; i++) if (io_handle == this->current_info_[i].io_handle_) diff --git a/ace/ReactorEx.i b/ace/ReactorEx.i index 6c675932b18..4792f5c6148 100644 --- a/ace/ReactorEx.i +++ b/ace/ReactorEx.i @@ -515,7 +515,7 @@ ACE_ReactorEx::suspend_all (void) int changes_required = 0; int total_handles = this->handler_rep_.max_handlep1_ - 1; - for (size_t i = 0; i < total_handles && error == 0; i++) + for (int i = 0; i < total_handles && error == 0; i++) { result = this->handler_rep_.suspend_handler_i (this->handler_rep_.current_handles_[i], changes_required); if (result == -1) |