diff --git a/frameworks/dock/rotate_input_device.cpp b/frameworks/dock/rotate_input_device.cpp index db91572dfa016d18493a7eb52a3c22b0b33d1440..f2156edbc28ab50f57803634bc3bb79f2701e135 100755 --- a/frameworks/dock/rotate_input_device.cpp +++ b/frameworks/dock/rotate_input_device.cpp @@ -75,7 +75,7 @@ void RotateInputDevice::DispatchEvent(const DeviceData& data) view->OnRotateEvent(data.rotate); rotateStart_ = true; GRAPHIC_LOGI("RotateInputDevice dispatched rotate event, targetView Type is %d\n!", - reinpreter_cast(view->GetViewType())); + static_cast(view->GetViewType())); } } // namespace OHOS #endif