From: Szymon Jastrzebski Date: Thu, 1 Mar 2018 11:40:18 +0000 (+0100) Subject: [Power] Fix for casting void* into int X-Git-Tag: submit/tizen/20180301.135635^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef5c1c97120ec89ccefbc160f58cc42cd738f900;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Power] Fix for casting void* into int This bug caused to fail building on 64-bits architecture. [Verification] Power M&A TCT 100% (TM1). The code is build-able for 64-bits arch. Change-Id: I3600a753956f448ca0938655cf1873e9ba057754 Signed-off-by: Szymon Jastrzebski --- diff --git a/src/power/power_manager.cc b/src/power/power_manager.cc index c8638b61..defb9ae9 100644 --- a/src/power/power_manager.cc +++ b/src/power/power_manager.cc @@ -113,7 +113,7 @@ void PowerManager::ScreenStateChangeCB(device_callback_e type, void* value, void return; } - display_state_e state = static_cast(reinterpret_cast(value)); + display_state_e state = static_cast(reinterpret_cast(value)); if (manager->current_screen_state == state) { return; }