Change-Id: I61d04c04eee2d69a0e9fa7e418b527043127359e
}
static void SQLInsertResponseCallback(int requestId, data_control_h handle,
- int64_t inserted_row_id,
+ long long int inserted_row_id,
bool providerResult,
const char *error, void *user_data) {
LoggerD("Enter");
LoggerE("type is not DISPLAY_STATE");
return;
}
- display_state_e state = static_cast<display_state_e>(reinterpret_cast<int>(value));
+ display_state_e state = static_cast<display_state_e>(*static_cast<int*>(value));
PowerState current = POWER_STATE_SCREEN_OFF;
switch (state) {
case DISPLAY_STATE_NORMAL :