| Index: content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
|
| diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_win.cc b/content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
|
| index 37af9797187a4ca99395e11af7bcea17cca770a4..90a1b0df0ac634cbeb4744be8f8058baabec245c 100644
|
| --- a/content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
|
| +++ b/content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
|
| @@ -473,15 +473,15 @@ void GamepadPlatformDataFetcherWin::GetDirectInputPadData(
|
| bool GamepadPlatformDataFetcherWin::GetXInputDllFunctions() {
|
| xinput_get_capabilities_ = NULL;
|
| xinput_get_state_ = NULL;
|
| - xinput_enable_ = static_cast<XInputEnableFunc>(
|
| + xinput_enable_ = reinterpret_cast<XInputEnableFunc>(
|
| xinput_dll_.GetFunctionPointer("XInputEnable"));
|
| if (!xinput_enable_)
|
| return false;
|
| - xinput_get_capabilities_ = static_cast<XInputGetCapabilitiesFunc>(
|
| + xinput_get_capabilities_ = reinterpret_cast<XInputGetCapabilitiesFunc>(
|
| xinput_dll_.GetFunctionPointer("XInputGetCapabilities"));
|
| if (!xinput_get_capabilities_)
|
| return false;
|
| - xinput_get_state_ = static_cast<XInputGetStateFunc>(
|
| + xinput_get_state_ = reinterpret_cast<XInputGetStateFunc>(
|
| xinput_dll_.GetFunctionPointer("XInputGetState"));
|
| if (!xinput_get_state_)
|
| return false;
|
|
|