diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-06-13 12:10:13 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-06-13 12:10:13 +0000 |
commit | b62152c582761d4503672945057ed2fff2cbd60e (patch) | |
tree | 229b135358b43127adf1312552f5d7cc3278371d /cpp/src/IcePatch2/Util.cpp | |
parent | Fixed allocation bug (diff) | |
download | ice-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.cpp | 2 |
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) |