diff options
Diffstat (limited to 'cpp/src')
-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) |