Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bea64c9 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Removed C-style casts" am: 110155a6 am: 6a831e02

am: 6b3df648

Change-Id: Ib917ebb9e4bd7a5cd7dcd785593f0a2f4ef0aefb
parents 4db650ca 6b3df648
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ static bool receive_new_data(const uint8_t* data, size_t size, void* cookie) {
}

static void* unzip_new_data(void* cookie) {
    NewThreadInfo* nti = (NewThreadInfo*) cookie;
    NewThreadInfo* nti = static_cast<NewThreadInfo*>(cookie);
    ProcessZipEntryContents(nti->za, &nti->entry, receive_new_data, nti);
    return nullptr;
}
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ void WearSwipeDetector::run() {
}

void* WearSwipeDetector::touch_thread(void* cookie) {
    ((WearSwipeDetector*)cookie)->run();
    (static_cast<WearSwipeDetector*>(cookie))->run();
    return NULL;
}