pos() now uses unztell64
This commit is contained in:
parent
9a0efc9532
commit
a58f70c140
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ qint64 QuaZipFile::pos()const
|
||||||
// QIODevice::pos() is broken for sequential devices,
|
// QIODevice::pos() is broken for sequential devices,
|
||||||
// but thankfully bytesAvailable() returns the number of
|
// but thankfully bytesAvailable() returns the number of
|
||||||
// bytes buffered, so we know how far ahead we are.
|
// bytes buffered, so we know how far ahead we are.
|
||||||
return unztell(p->zip->getUnzFile()) - QIODevice::bytesAvailable();
|
return unztell64(p->zip->getUnzFile()) - QIODevice::bytesAvailable();
|
||||||
else
|
else
|
||||||
return p->writePos;
|
return p->writePos;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue