mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-09 23:49:58 +01:00
fix: Resolve compiler warnings across multiple modules
This commit is contained in:
@@ -189,7 +189,7 @@ void ZipUtil::syncDataDescriptor(std::istream & in, bool force64)
|
||||
ZipDataInfo64 nfo(in, true);
|
||||
if (nfo.isValid())
|
||||
{
|
||||
if (end - start == nfo.getCompressedSize() + 4)
|
||||
if (static_cast<Poco::UInt64>(end - start) == nfo.getCompressedSize() + 4)
|
||||
{
|
||||
in.seekg(-static_cast<int>(ZipDataInfo64::getFullHeaderSize()), std::ios::cur);
|
||||
if (!in.good()) throw Poco::IOException("Failed to seek on input stream");
|
||||
|
||||
Reference in New Issue
Block a user