diff options
author | Lei Zhang <thestig@chromium.org> | 2017-04-03 17:27:11 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-04 13:12:18 +0000 |
commit | e115b2e6a892e0af3b011475c0deed093284e7b4 (patch) | |
tree | 97b9a48fc579803368f1f963b9b7d4553515bac6 /core/fxcodec/codec/ccodec_pngmodule.cpp | |
parent | bb4a1bc09f92f781deefae5dc187fef21d6957fd (diff) | |
download | pdfium-e115b2e6a892e0af3b011475c0deed093284e7b4.tar.xz |
Remove unneeded void* casts.
Change-Id: Icf6b0ec88dfc8dc707b18ca4ad25dd77610b4c91
Reviewed-on: https://pdfium-review.googlesource.com/3622
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_pngmodule.cpp')
-rw-r--r-- | core/fxcodec/codec/ccodec_pngmodule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/codec/ccodec_pngmodule.cpp b/core/fxcodec/codec/ccodec_pngmodule.cpp index ae34b53413..09bc1ac7e7 100644 --- a/core/fxcodec/codec/ccodec_pngmodule.cpp +++ b/core/fxcodec/codec/ccodec_pngmodule.cpp @@ -211,7 +211,7 @@ FXPNG_Context* CCodec_PngModule::Start() { p->m_FreeFunc = _png_free_func; p->png_ptr = nullptr; p->info_ptr = nullptr; - p->parent_ptr = (void*)this; + p->parent_ptr = this; p->png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); if (!p->png_ptr) { |