mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fixed a warning
This commit is contained in:
@@ -308,7 +308,7 @@ inline std::streamoff ZipLocalFileHeader::getStartPos() const
|
|||||||
inline void ZipLocalFileHeader::setStartPos(std::streamoff start)
|
inline void ZipLocalFileHeader::setStartPos(std::streamoff start)
|
||||||
{
|
{
|
||||||
_startPos = start;
|
_startPos = start;
|
||||||
_endPos = start + getHeaderSize()+getCompressedSize();
|
_endPos = start + getHeaderSize()+static_cast<std::streamoff>(getCompressedSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -494,7 +494,7 @@ inline std::streamoff ZipLocalFileHeader::getDataStartPos() const
|
|||||||
|
|
||||||
inline std::streamoff ZipLocalFileHeader::getDataEndPos() const
|
inline std::streamoff ZipLocalFileHeader::getDataEndPos() const
|
||||||
{
|
{
|
||||||
return getDataStartPos()+getCompressedSize();
|
return getDataStartPos()+static_cast<std::streamoff>(getCompressedSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user