| Index: xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp
|
| diff --git a/xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp b/xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp
|
| index 6ce662508a2b9d37a8c025c8f5f06659640607e1..25bb6a14b65d9a11714218c99f5bd15c8b6f0eb0 100644
|
| --- a/xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp
|
| +++ b/xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp
|
| @@ -218,7 +218,7 @@ int32_t CFWL_SpinButtonImpDelegate::OnProcessMessage(CFWL_Message* pMessage) {
|
| break;
|
| }
|
| case FWL_MSGHASH_Mouse: {
|
| - CFWL_MsgMouse* pMsg = (CFWL_MsgMouse*)pMessage;
|
| + CFWL_MsgMouse* pMsg = static_cast<CFWL_MsgMouse*>(pMessage);
|
| FX_DWORD dwCmd = pMsg->m_dwCmd;
|
| switch (dwCmd) {
|
| case FWL_MSGMOUSECMD_LButtonDown: {
|
| @@ -242,9 +242,9 @@ int32_t CFWL_SpinButtonImpDelegate::OnProcessMessage(CFWL_Message* pMessage) {
|
| break;
|
| }
|
| case FWL_MSGHASH_Key: {
|
| - CFWL_MsgKey* pKey = (CFWL_MsgKey*)pMessage;
|
| + CFWL_MsgKey* pKey = static_cast<CFWL_MsgKey*>(pMessage);
|
| if (pKey->m_dwCmd == FWL_MSGKEYCMD_KeyDown) {
|
| - OnKeyDown((CFWL_MsgKey*)pKey);
|
| + OnKeyDown(pKey);
|
| }
|
| break;
|
| }
|
|
|