summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/GC.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-06-28 22:52:03 +0000
committerBernard Normier <bernard@zeroc.com>2006-06-28 22:52:03 +0000
commit0e327a88a4640b291ee096fb31396ed4d203f636 (patch)
tree3155260ffa37d101a4dff4a9152b5a113564c643 /cpp/src/Ice/GC.cpp
parentfix noarch RPM dependencies (diff)
downloadice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.bz2
ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.xz
ice-0e327a88a4640b291ee096fb31396ed4d203f636.zip
Port to Solaris 10 + fix for numerous warnings on Sun
Diffstat (limited to 'cpp/src/Ice/GC.cpp')
-rwxr-xr-xcpp/src/Ice/GC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/GC.cpp b/cpp/src/Ice/GC.cpp
index f8334d41e97..19b545ad231 100755
--- a/cpp/src/Ice/GC.cpp
+++ b/cpp/src/Ice/GC.cpp
@@ -218,10 +218,10 @@ IceInternal::GC::collectGarbage()
for(GCObjectSet::const_iterator i = liveObjects.begin(); i != liveObjects.end(); ++i)
{
#ifndef NDEBUG
- bool erased =
+ size_t erased =
#endif
counts.erase(*i);
- assert(erased);
+ assert(erased != 0);
}
}
}