Index: fpdfsdk/src/fpdf_dataavail.cpp |
diff --git a/fpdfsdk/src/fpdf_dataavail.cpp b/fpdfsdk/src/fpdf_dataavail.cpp |
index f31685f6d8083f0f562f6b7036e85e3710077df5..88b00dead7d51100a9726a4716cafb4478e48076 100644 |
--- a/fpdfsdk/src/fpdf_dataavail.cpp |
+++ b/fpdfsdk/src/fpdf_dataavail.cpp |
@@ -50,7 +50,7 @@ public: |
virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) |
{ |
- return m_pFileAccess->m_GetBlock(m_pFileAccess->m_Param, offset, (FX_LPBYTE)buffer, size); |
+ return m_pFileAccess->m_GetBlock(m_pFileAccess->m_Param, offset, (uint8_t*)buffer, size); |
} |
virtual void Release() |