From a55880db9272d2ad98ce600efbf068408e8fcf15 Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 23 May 2016 09:11:54 -0700 Subject: Add missing STDCALL for FPDFDoc_GetPageMode(). BUG=pdfium:498 Review-Url: https://codereview.chromium.org/2004703002 --- fpdfsdk/fpdf_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/fpdf_ext.cpp b/fpdfsdk/fpdf_ext.cpp index 8a45a13e12..9bb54da594 100644 --- a/fpdfsdk/fpdf_ext.cpp +++ b/fpdfsdk/fpdf_ext.cpp @@ -191,7 +191,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { #endif // PDF_ENABLE_XFA } -DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document) { +DLLEXPORT int STDCALL FPDFDoc_GetPageMode(FPDF_DOCUMENT document) { CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); if (!pDoc) return PAGEMODE_UNKNOWN; -- cgit v1.2.3