From 4adc5699789266783958acd62e55ed937af11b4c Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Tue, 13 Apr 2004 15:21:09 +0000 Subject: [PATCH] fix build bustage with 64 bit seekable streams --- netwerk/base/src/nsFileStreams.cpp | 2 +- netwerk/base/src/nsFileStreams.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netwerk/base/src/nsFileStreams.cpp b/netwerk/base/src/nsFileStreams.cpp index c033ea0c0f7a..4e2f707cc1b9 100644 --- a/netwerk/base/src/nsFileStreams.cpp +++ b/netwerk/base/src/nsFileStreams.cpp @@ -365,7 +365,7 @@ nsFileInputStream::IsNonBlocking(PRBool *aNonBlocking) } NS_IMETHODIMP -nsFileInputStream::Seek(PRInt32 aWhence, PRInt32 aOffset) +nsFileInputStream::Seek(PRInt32 aWhence, PRInt64 aOffset) { if (!mFD) { if (mBehaviorFlags & REOPEN_ON_REWIND) { diff --git a/netwerk/base/src/nsFileStreams.h b/netwerk/base/src/nsFileStreams.h index a9ff9f7ad091..8bcc8734d7e5 100644 --- a/netwerk/base/src/nsFileStreams.h +++ b/netwerk/base/src/nsFileStreams.h @@ -84,7 +84,7 @@ public: NS_DECL_NSILINEINPUTSTREAM // Overrided from nsFileStream - NS_IMETHOD Seek(PRInt32 aWhence, PRInt32 aOffset); + NS_IMETHOD Seek(PRInt32 aWhence, PRInt64 aOffset); nsFileInputStream() : nsFileStream() {