summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-24 21:36:58 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 21:36:58 +0100
commit3bea64c9f35ecc9f7f24ad75e55c51b98e57b181 (patch)
tree4639669074ff788bb4c7ce99fdd877cdfb01225a /ui.cpp
parentMerge "Fix the wrong parameter when calling read_metadata_from_package()." am: 6014db5da6 am: 5da7e41ec8 (diff)
parentMerge "Removed C-style casts" am: 110155a604 (diff)
downloadandroid_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar.gz
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar.bz2
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar.lz
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar.xz
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.tar.zst
android_bootable_recovery-3bea64c9f35ecc9f7f24ad75e55c51b98e57b181.zip
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.cpp b/ui.cpp
index a796461c8..9194ae3df 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -240,7 +240,7 @@ void RecoveryUI::ProcessKey(int key_code, int updown) {
}
void* RecoveryUI::time_key_helper(void* cookie) {
- key_timer_t* info = (key_timer_t*) cookie;
+ key_timer_t* info = static_cast<key_timer_t*>(cookie);
info->ui->time_key(info->key_code, info->count);
delete info;
return nullptr;