diff options
author | Mikhail Lappo <miklelappo@gmail.com> | 2017-03-23 21:30:36 +0100 |
---|---|---|
committer | Mikhail Lappo <miklelappo@gmail.com> | 2017-03-23 21:52:04 +0100 |
commit | 20791bdcd7caad0e3ad3adedf7f9f932da278d96 (patch) | |
tree | 104e2d28effaf00225d4ad967a6d162c4f7cba59 /wear_touch.cpp | |
parent | Merge "Checking unsigned variable less than zero" (diff) | |
download | android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar.gz android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar.bz2 android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar.lz android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar.xz android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.tar.zst android_bootable_recovery-20791bdcd7caad0e3ad3adedf7f9f932da278d96.zip |
Diffstat (limited to 'wear_touch.cpp')
-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; } |