diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-17 17:23:22 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-17 21:40:41 +0000 |
commit | 46abb66cb57d4bc6b9326efd7a0c0e776e594db2 (patch) | |
tree | d0e3b8bada3ff24ac3cff44f4ae0ed990232448d /fpdfsdk/fpdfview.cpp | |
parent | 26853181af1b28ba8070b955d90fb7a17fec2713 (diff) | |
download | pdfium-46abb66cb57d4bc6b9326efd7a0c0e776e594db2.tar.xz |
Use more static_cast in fpdfsdk
This CL replaces some reinterpret_cast with static_cast in fpdfsdk. It also
removes an obsolete comment in fpdfedit.h
Change-Id: I36c29bfcd6382490a8c955b50ccfa4c93ab351c7
Reviewed-on: https://pdfium-review.googlesource.com/5632
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r-- | fpdfsdk/fpdfview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp index f8078073b7..2bf6dfca74 100644 --- a/fpdfsdk/fpdfview.cpp +++ b/fpdfsdk/fpdfview.cpp @@ -156,7 +156,7 @@ bool CPDF_CustomAccess::ReadBlock(void* buffer, return false; } return !!m_FileAccess.m_GetBlock(m_FileAccess.m_Param, offset, - reinterpret_cast<uint8_t*>(buffer), size); + static_cast<uint8_t*>(buffer), size); } #ifdef PDF_ENABLE_XFA |