diff options
Diffstat (limited to 'fpdfsdk/src/fpdf_dataavail.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_dataavail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fpdf_dataavail.cpp b/fpdfsdk/src/fpdf_dataavail.cpp index b26d2af10a..85eba55212 100644 --- a/fpdfsdk/src/fpdf_dataavail.cpp +++ b/fpdfsdk/src/fpdf_dataavail.cpp @@ -21,7 +21,7 @@ public: m_pfileAvail = pfileAvail; } - virtual FX_BOOL IsDataAvail( FX_FILESIZE offset, FX_DWORD size) + virtual bool IsDataAvail( FX_FILESIZE offset, FX_DWORD size) { return m_pfileAvail->IsDataAvail(m_pfileAvail, offset, size); } @@ -48,7 +48,7 @@ public: return m_pFileAccess->m_FileLen; } - virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) + virtual bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) { return m_pFileAccess->m_GetBlock(m_pFileAccess->m_Param, offset, (uint8_t*)buffer, size); } |