commit | 7dc5172decb2e2fa8885561ff473902f6e16c707 | [log] [tgz] |
---|---|---|
author | John Abd-El-Malek <jam@chromium.org> | Mon May 26 12:54:31 2014 -0700 |
committer | John Abd-El-Malek <jam@chromium.org> | Mon May 26 12:54:31 2014 -0700 |
tree | df298d0d709125ef344c287126715f5b69226e96 | |
parent | 75392b3b36b8261a7ac5c8746359f738de9754e8 [diff] |
Fix build error on win x64.
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index 76862be..0c64149 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc
@@ -180,7 +180,7 @@ 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;