summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-05 18:05:21 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-05 18:05:21 +0000
commit2e1ffd3e0c91f17948892a2a817e9644db058a56 (patch)
treea6e7960bef57b58ddd6246148a82a9279327c67a /ace/Malloc_T.cpp
parent6f83af36bc7d8bb6e4cfeb2d18993bf33befb634 (diff)
downloadATCD-2e1ffd3e0c91f17948892a2a817e9644db058a56.tar.gz
ChangeLogTag:Thu Aug 5 13:03:28 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Malloc_T.cpp')
-rw-r--r--ace/Malloc_T.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/ace/Malloc_T.cpp b/ace/Malloc_T.cpp
index dd27024271a..21d4c83f52f 100644
--- a/ace/Malloc_T.cpp
+++ b/ace/Malloc_T.cpp
@@ -414,15 +414,12 @@ ACE_Malloc<ACE_MEM_POOL_2, ACE_LOCK>::shared_free (void *ap)
for (;
blockp <= currp
- || blockp >= ACE_reinterpret_cast (ACE_Malloc_Header *,
- currp->s_.next_block_);
+ || blockp >= (ACE_Malloc_Header *) currp->s_.next_block_;
currp = currp->s_.next_block_)
{
- if (currp >= ACE_reinterpret_cast (ACE_Malloc_Header *,
- currp->s_.next_block_)
+ if (currp >= (ACE_Malloc_Header *) currp->s_.next_block_
&& (blockp > currp
- || blockp < ACE_reinterpret_cast (ACE_Malloc_Header *,
- currp->s_.next_block_)))
+ || blockp < (ACE_Malloc_Header *) currp->s_.next_block_))
// Freed block at the start or the end of the memory pool.
break;
}