From 9b8b217e6f8f2ff03b09d6075e689804928c7b3c Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 25 Apr 2018 22:12:34 +0000 Subject: Replace reinterpret_cast with static_cast where possible Change-Id: Ic62f1def8e043494c9fa6c08a937d7d872513567 Reviewed-on: https://pdfium-review.googlesource.com/31314 Commit-Queue: Tom Sepez Reviewed-by: dsinclair --- fxjs/xfa/cjx_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxjs/xfa') diff --git a/fxjs/xfa/cjx_object.cpp b/fxjs/xfa/cjx_object.cpp index 2ea69d43c8..0ac2f44123 100644 --- a/fxjs/xfa/cjx_object.cpp +++ b/fxjs/xfa/cjx_object.cpp @@ -424,7 +424,7 @@ Optional CJX_Object::TryMeasure(XFA_Attribute eAttr, int32_t iBytes; if (GetMapModuleBuffer(pKey, pValue, iBytes, true) && iBytes == sizeof(CXFA_Measurement)) { - return {*reinterpret_cast(pValue)}; + return {*static_cast(pValue)}; } if (!bUseDefault) return {}; -- cgit v1.2.3