From 7dc5172decb2e2fa8885561ff473902f6e16c707 Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Mon, 26 May 2014 12:54:31 -0700 Subject: Fix build error on win x64. --- samples/pdfium_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples') 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(len); file_access.m_GetBlock = Get_Block; file_access.m_Param = &loader; -- cgit v1.2.3