summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.cpp
diff options
context:
space:
mode:
authorMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:30:36 +0100
committerMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:52:04 +0100
commit20791bdcd7caad0e3ad3adedf7f9f932da278d96 (patch)
tree104e2d28effaf00225d4ad967a6d162c4f7cba59 /updater/blockimg.cpp
parentMerge "Checking unsigned variable less than zero" (diff)
downloadandroid_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 '')
-rw-r--r--updater/blockimg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index efdfec19a..a8146eb50 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;
}