diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-05-26 12:54:31 -0700 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-05-26 12:54:31 -0700 |
commit | 7dc5172decb2e2fa8885561ff473902f6e16c707 (patch) | |
tree | df298d0d709125ef344c287126715f5b69226e96 | |
parent | 75392b3b36b8261a7ac5c8746359f738de9754e8 (diff) | |
download | pdfium-chromium/2022.tar.xz |
Fix build error on win x64.chromium/2022chromium/2021chromium/2020chromium/2019chromium/2018chromium/2017chromium/2016chromium/2015
-rw-r--r-- | samples/pdfium_test.cc | 2 |
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; |