summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-12 21:31:19 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-12 21:31:19 +0200
commitb0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48 (patch)
tree939756eddeb5d89e545b90b9d20dbd4eac5e2e39
parentDo not write past end of inotify event structure. am: 855803fd4a am: 0dc29da784 am: a2fac3194a am: efc4906a4a am: e81bba5a28 (diff)
parentMerge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce am: 1eb13afa06 am: 2a91c74161 (diff)
downloadandroid_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar.gz
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar.bz2
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar.lz
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar.xz
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.tar.zst
android_bootable_recovery-b0b5ab6cf89d5ae8a080a4c1a1f5715359a97a48.zip
-rw-r--r--fuse_sideload/fuse_sideload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuse_sideload/fuse_sideload.cpp b/fuse_sideload/fuse_sideload.cpp
index 3d9480309..07cbe96f3 100644
--- a/fuse_sideload/fuse_sideload.cpp
+++ b/fuse_sideload/fuse_sideload.cpp
@@ -225,7 +225,7 @@ static int handle_release(void* /* data */, fuse_data* /* fd */, const fuse_in_h
// 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;
}