diff options
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp index e5bbed6d9ba..522fbfdef53 100755 --- a/cpp/src/IcePatch2/ClientUtil.cpp +++ b/cpp/src/IcePatch2/ClientUtil.cpp @@ -792,7 +792,7 @@ IcePatch2::Patcher::updateFilesInternal(const FileInfoSeq& files, const Decompre throw ": cannot write `" + pathBZ2 + "':\n" + lastError(); } - pos += bytes.size(); + pos += static_cast<int>(bytes.size()); updated += bytes.size(); if(!_feedback->patchProgress(pos, p->size, updated, total)) |