commit | 5ebc53920595d0dff04f000b9d64c5fdfd642b8a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 12 19:46:23 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Oct 12 19:46:23 2021 +0000 |
tree | ecc8e763f29b4f206b3a5b5fac3fa2c98ccfe6c9 | |
parent | 5059fd2a38a86edfd8129de810c80ed12b51b438 [diff] | |
parent | b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48 [diff] |
Merge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce am: 1eb13afa06 am: 2a91c74161 am: 77b6c04395 am: b0b5ab6cf8 Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1854273 Change-Id: Ie52996d153f6a825714e8025a5716daeb8407c68
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; }