diff options
author | Tao Bao <tbao@google.com> | 2017-03-24 21:27:59 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-24 21:28:00 +0100 |
commit | 110155a604b8ee48a8086763071cf231b5dc57b5 (patch) | |
tree | 590d1bcacf5737f86a88f61e5470f1f6e6bf863e /updater | |
parent | Merge "Fix the wrong parameter when calling read_metadata_from_package()." (diff) | |
parent | Removed C-style casts (diff) | |
download | android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar.gz android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar.bz2 android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar.lz android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar.xz android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.tar.zst android_bootable_recovery-110155a604b8ee48a8086763071cf231b5dc57b5.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/blockimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 12ca151a1..db5fcc87c 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -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; } |