mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-06 00:31:10 +01:00
fixed a warning
This commit is contained in:
parent
6fef7a3ae0
commit
6ab7e11c16
@ -308,7 +308,7 @@ inline std::streamoff ZipLocalFileHeader::getStartPos() const
|
||||
inline void ZipLocalFileHeader::setStartPos(std::streamoff 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
|
||||
{
|
||||
return getDataStartPos()+getCompressedSize();
|
||||
return getDataStartPos()+static_cast<std::streamoff>(getCompressedSize());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user