summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-12 20:55:13 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-12 20:55:13 +0200
commit2a91c741610661f3d87057f82261ceb8d6fe0c58 (patch)
tree939756eddeb5d89e545b90b9d20dbd4eac5e2e39
parentDo not write past end of inotify event structure. am: 855803fd4a am: 0dc29da784 am: a2fac3194a (diff)
parentMerge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce (diff)
downloadandroid_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar.gz
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar.bz2
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar.lz
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar.xz
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.tar.zst
android_bootable_recovery-2a91c741610661f3d87057f82261ceb8d6fe0c58.zip
Diffstat (limited to '')
-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;
}