diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-11-10 18:22:10 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-11-12 18:03:50 +0100 |
commit | bcc502cff9fea2d892a0344879e420df1d10fb47 (patch) | |
tree | 05b239cbc41d72372343f4dbe78ee0674b3ee146 /twrpTar.cpp | |
parent | update theme thanks to Alexey71 on xda. (diff) | |
download | android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.gz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.bz2 android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.lz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.xz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.zst android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.zip |
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r-- | twrpTar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp index 28ac91ac1..b5d66d31b 100644 --- a/twrpTar.cpp +++ b/twrpTar.cpp @@ -300,7 +300,7 @@ int twrpTar::createTarFork(const unsigned long long *overall_size, const unsigne _exit(-1); } else { LOGINFO("Joined thread %i.\n", i); - ret = (int)thread_return; + ret = *((int *)thread_return); if (ret != 0) { thread_error = 1; LOGERR("Thread %i returned an error %i.\n", i, ret); @@ -532,7 +532,7 @@ int twrpTar::extractTarFork(const unsigned long long *overall_size, unsigned lon _exit(-1); } else { LOGINFO("Joined thread %i.\n", i); - ret = (int)thread_return; + ret = *((int *)thread_return); if (ret != 0) { thread_error = 1; LOGERR("Thread %i returned an error %i.\n", i, ret); @@ -751,7 +751,7 @@ int twrpTar::tarList(std::vector<TarListStruct> *TarList, unsigned thread_id) { LOGERR("Error closing '%s' on thread %i\n", tarfn.c_str(), thread_id); return -3; } - LOGINFO("Thread id %i tarList done, %i archives.\n", thread_id, archive_count, i, list_size); + LOGINFO("Thread id %i tarList done, %i archives.\n", thread_id, archive_count); return 0; } |