summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-06-12 20:15:48 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-06-12 20:15:48 +0000
commit4f39b1d1aaa0bc067ba81bf12d1c29b320656116 (patch)
tree2aaf7591357e35497d73fbe9187a46b5c7808255 /cpp/src/IceGrid/Database.cpp
parentMore alphabetical checks (diff)
downloadice-4f39b1d1aaa0bc067ba81bf12d1c29b320656116.tar.bz2
ice-4f39b1d1aaa0bc067ba81bf12d1c29b320656116.tar.xz
ice-4f39b1d1aaa0bc067ba81bf12d1c29b320656116.zip
fixes for 64 bit windows build.
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 9b478a19b2e..6b8b77c1363 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -728,7 +728,7 @@ Database::removeAdapter(const string& adapterId)
else
{
serial = _serial;
- _serial += infos.size();
+ _serial += static_cast<int>(static_cast<int>(infos.size()));
}
}
@@ -1066,7 +1066,7 @@ Ice::ObjectPrx
Database::getObjectByType(const string& type)
{
Ice::ObjectProxySeq objs = getObjectsByType(type);
- return objs[IceUtil::random(objs.size())];
+ return objs[IceUtil::random(static_cast<int>(objs.size()))];
}
Ice::ObjectPrx