summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-05-26 12:54:31 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-05-26 12:54:31 -0700
commit7dc5172decb2e2fa8885561ff473902f6e16c707 (patch)
treedf298d0d709125ef344c287126715f5b69226e96 /samples
parent75392b3b36b8261a7ac5c8746359f738de9754e8 (diff)
downloadpdfium-7dc5172decb2e2fa8885561ff473902f6e16c707.tar.xz
Diffstat (limited to 'samples')
-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;