summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-01-14 07:00:50 +0000
committerMichi Henning <michi@zeroc.com>2005-01-14 07:00:50 +0000
commit1f17d02dd42a6a723b80af8cee56c322ecc898a2 (patch)
tree0a7f4a190e22a379318d6dbe2b992b4a5170cc0c /cpp/src
parentDid some tidying up, got rid of magic numbers, added a config property for (diff)
downloadice-1f17d02dd42a6a723b80af8cee56c322ecc898a2.tar.bz2
ice-1f17d02dd42a6a723b80af8cee56c322ecc898a2.tar.xz
ice-1f17d02dd42a6a723b80af8cee56c322ecc898a2.zip
Got rid of signed/unsigned compiler warning from gcc.
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/IcePatch2/ClientUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index eff7f71b2f2..42ac384b4ef 100755
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -326,7 +326,7 @@ IcePatch2::Patcher::prepare()
}
ByteSeqSeq checksumSeq = _serverCompress->getChecksumSeq();
- if(checksumSeq.size() != NumPartitions)
+ if(static_cast<int>(checksumSeq.size()) != NumPartitions)
{
throw string("server returned illegal value");
}