commit | 77b6c043957ecbcf6a62d61288fafcca3c24c690 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 12 19:09:44 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Oct 12 19:09:44 2021 +0000 |
tree | 939756eddeb5d89e545b90b9d20dbd4eac5e2e39 | |
parent | 6978f013fe020e337ddef547c9350730b3859075 [diff] | |
parent | 2a91c741610661f3d87057f82261ceb8d6fe0c58 [diff] |
Merge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce am: 1eb13afa06 am: 2a91c74161 Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1854273 Change-Id: I3abdf9e18ed25fa00f032c664cc58141e999fde1
diff --git a/fuse_sideload/fuse_sideload.cpp b/fuse_sideload/fuse_sideload.cpp index 3d94803..07cbe96 100644 --- a/fuse_sideload/fuse_sideload.cpp +++ b/fuse_sideload/fuse_sideload.cpp
@@ -225,7 +225,7 @@ // Fetch a block from the host into fd->curr_block and fd->block_data. // Returns 0 on successful fetch, negative otherwise. -static int fetch_block(fuse_data* fd, uint32_t block) { +static int fetch_block(fuse_data* fd, uint64_t block) { if (block == fd->curr_block) { return 0; }