Fix build error on win x64.
authorJohn Abd-El-Malek <jam@chromium.org>
Mon, 26 May 2014 19:54:31 +0000 (12:54 -0700)
committerJohn Abd-El-Malek <jam@chromium.org>
Mon, 26 May 2014 19:54:31 +0000 (12:54 -0700)
samples/pdfium_test.cc

index 76862be..0c64149 100644 (file)
@@ -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;