From acf0647bd20b5fbb95be955e60a355884d837631 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Wed, 15 Jul 2015 14:47:39 +0200 Subject: Add missing reinterpret_cast from void to v8::Isolate* BUG=none TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1241863003 . --- fpdfsdk/src/javascript/JS_Runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/src/javascript') diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp index 6ceb640e58..b26f5a2e62 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.cpp +++ b/fpdfsdk/src/javascript/JS_Runtime.cpp @@ -114,7 +114,7 @@ CJS_Runtime::CJS_Runtime(CPDFDoc_Environment * pApp) : m_isolate(NULL) { if (m_pApp->GetFormFillInfo()->m_pJsPlatform->version >= 2) { - m_isolate = m_pApp->GetFormFillInfo()->m_pJsPlatform->m_isolate; + m_isolate = reinterpret_cast(m_pApp->GetFormFillInfo()->m_pJsPlatform->m_isolate); } if (!m_isolate) { m_pArrayBufferAllocator.reset(new CJS_ArrayBufferAllocator()); -- cgit v1.2.3