Index: testing/embedder_test.cpp |
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp |
index e1618677322ce0f07868edef0083b8e3687462d7..1c3c2feb644036c5d5e49a4ac31c1216f03a9286 100644 |
--- a/testing/embedder_test.cpp |
+++ b/testing/embedder_test.cpp |
@@ -167,7 +167,7 @@ int Get_Block(void* param, unsigned long pos, unsigned char* pBuf, |
return 1; |
} |
-bool Is_Data_Avail(FX_FILEAVAIL* pThis, size_t offset, size_t size) { |
+FPDF_BOOL Is_Data_Avail(FX_FILEAVAIL* pThis, size_t offset, size_t size) { |
return true; |
} |
@@ -262,7 +262,7 @@ bool EmbedderTest::OpenDocument(const std::string& filename) { |
return false; |
} |
int docType = DOCTYPE_PDF; |
- if (FPDF_HasXFAField(document_, docType)) |
+ if (FPDF_HasXFAField(document_, &docType)) |
{ |
if (docType != DOCTYPE_PDF) |
(void) FPDF_LoadXFA(document_); |