зеркало из https://github.com/mozilla/gecko-dev.git
fix build bustage with 64 bit seekable streams
This commit is contained in:
Родитель
9e210e5568
Коммит
4adc569978
|
@ -365,7 +365,7 @@ nsFileInputStream::IsNonBlocking(PRBool *aNonBlocking)
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsFileInputStream::Seek(PRInt32 aWhence, PRInt32 aOffset)
|
nsFileInputStream::Seek(PRInt32 aWhence, PRInt64 aOffset)
|
||||||
{
|
{
|
||||||
if (!mFD) {
|
if (!mFD) {
|
||||||
if (mBehaviorFlags & REOPEN_ON_REWIND) {
|
if (mBehaviorFlags & REOPEN_ON_REWIND) {
|
||||||
|
|
|
@ -84,7 +84,7 @@ public:
|
||||||
NS_DECL_NSILINEINPUTSTREAM
|
NS_DECL_NSILINEINPUTSTREAM
|
||||||
|
|
||||||
// Overrided from nsFileStream
|
// Overrided from nsFileStream
|
||||||
NS_IMETHOD Seek(PRInt32 aWhence, PRInt32 aOffset);
|
NS_IMETHOD Seek(PRInt32 aWhence, PRInt64 aOffset);
|
||||||
|
|
||||||
nsFileInputStream() : nsFileStream()
|
nsFileInputStream() : nsFileStream()
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче