commit | 1eb13afa066ceceaeb6a944899c8ed3d4db16bd6 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 12 18:43:20 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Oct 12 18:43:20 2021 +0000 |
tree | 0032ab566e56d454277a30464194fb31fc31e0e9 | |
parent | 60c3c08aa4bcc773d3adad6a87afa7427e74ab8b [diff] | |
parent | c9549c19ce56c31fdfb3f0efe35d266d828903f3 [diff] |
Merge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1854273 Change-Id: I933e30627c57aa2ced11cfd57d8b1154bbb9d6f0
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; }