summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.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/ServerI.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/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index fdab6755490..e604cde28c1 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -1739,7 +1739,7 @@ ServerI::updateImpl(const string& application, const ServerDescriptorPtr& desc,
//
vector<char> buf(256);
buf.resize(256);
- DWORD size = buf.size();
+ DWORD size = static_cast<DWORD>(buf.size());
bool success = GetUserName(&buf[0], &size);
if(!success && GetLastError() == ERROR_INSUFFICIENT_BUFFER)
{