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