summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Util.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-06-13 12:10:13 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-06-13 12:10:13 +0000
commitb62152c582761d4503672945057ed2fff2cbd60e (patch)
tree229b135358b43127adf1312552f5d7cc3278371d /cpp/src/IcePatch2/Util.cpp
parentFixed allocation bug (diff)
downloadice-b62152c582761d4503672945057ed2fff2cbd60e.tar.bz2
ice-b62152c582761d4503672945057ed2fff2cbd60e.tar.xz
ice-b62152c582761d4503672945057ed2fff2cbd60e.zip
fix
Diffstat (limited to 'cpp/src/IcePatch2/Util.cpp')
-rw-r--r--cpp/src/IcePatch2/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/Util.cpp b/cpp/src/IcePatch2/Util.cpp
index 66642d5ba37..1fb589d1e98 100644
--- a/cpp/src/IcePatch2/Util.cpp
+++ b/cpp/src/IcePatch2/Util.cpp
@@ -975,7 +975,7 @@ getFileInfoSeqInt(const string& basePath, const string& relPath, int compress, G
unsigned int bytesLeft = buf.st_size;
while(bytesLeft > 0)
{
- ByteSeq bytes(min(bytesLeft, 1024*1024));
+ ByteSeq bytes(min(bytesLeft, 1024u*1024));
if(read(fd, &bytes[0], static_cast<unsigned int>(bytes.size())) == -1)
{
if(doCompress)