summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 76862be892..0c641498fe 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -180,7 +180,7 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
FPDF_FILEACCESS file_access;
memset(&file_access, '\0', sizeof(file_access));
- file_access.m_FileLen = len;
+ file_access.m_FileLen = static_cast<unsigned long>(len);
file_access.m_GetBlock = Get_Block;
file_access.m_Param = &loader;