summaryrefslogtreecommitdiff
path: root/ace/Memory_Pool.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-03-20 22:02:55 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-03-20 22:02:55 +0000
commitac7817bf9e7bce89ec117343eaa8bbf8d3086f3c (patch)
tree9118acadf0bdd95e56a45b0665ba643a0c7acaaf /ace/Memory_Pool.cpp
parent2d063afc6dca9dfece479f0d80ad99095a7ccd9c (diff)
downloadATCD-ac7817bf9e7bce89ec117343eaa8bbf8d3086f3c.tar.gz
ChangeLogTag:Thu Mar 20 14:00:53 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r--ace/Memory_Pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp
index 89f95d0369b..e05e54cf19f 100644
--- a/ace/Memory_Pool.cpp
+++ b/ace/Memory_Pool.cpp
@@ -681,7 +681,7 @@ ACE_Shared_Memory_Pool::find_seg (const void* const searchPtr,
// If segment 'counter' starts at a location greater than the
// place we are searching for. We then decrement the offset to
// the start of counter-1. (flabar@vais.net)
- if ((offset + (off_t)(this->base_addr_) ) > (off_t)searchPtr)
+ if (((ptrdiff_t) offset + (ptrdiff_t) (this->base_addr_)) > (ptrdiff_t) searchPtr)
{
--counter;
offset -= buf.shm_segsz;