diff options
author | Tao Bao <tbao@google.com> | 2017-03-24 21:32:29 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-24 21:32:29 +0100 |
commit | 6a831e02b67776c2600d7069a77fef0211432cb9 (patch) | |
tree | 577df1cb0fa236caa5489f10c803f8ee2c99f3ac /wear_touch.cpp | |
parent | Merge "Fix the wrong parameter when calling read_metadata_from_package()." (diff) | |
parent | Merge "Removed C-style casts" (diff) | |
download | android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar.gz android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar.bz2 android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar.lz android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar.xz android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.tar.zst android_bootable_recovery-6a831e02b67776c2600d7069a77fef0211432cb9.zip |
Diffstat (limited to '')
-rw-r--r-- | wear_touch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wear_touch.cpp b/wear_touch.cpp index cf33daa9f..e2ab44d2d 100644 --- a/wear_touch.cpp +++ b/wear_touch.cpp @@ -118,7 +118,7 @@ void WearSwipeDetector::run() { } void* WearSwipeDetector::touch_thread(void* cookie) { - ((WearSwipeDetector*)cookie)->run(); + (static_cast<WearSwipeDetector*>(cookie))->run(); return NULL; } |