diff options
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch/Util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp index e7465e1192c..036d7d6b1b7 100644 --- a/cpp/src/IcePatch/Util.cpp +++ b/cpp/src/IcePatch/Util.cpp @@ -790,7 +790,7 @@ IcePatch::createBZ2(const string& path, const Ice::LoggerPtr& logger) if(file.gcount() > 0) { - BZ2_bzWrite(&bzError, bzFile, bytes, file.gcount()); + BZ2_bzWrite(&bzError, bzFile, bytes, static_cast<int>(file.gcount())); if(bzError != BZ_OK) { FileAccessException ex; |