summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-12 20:43:20 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-12 20:43:20 +0200
commit1eb13afa066ceceaeb6a944899c8ed3d4db16bd6 (patch)
tree0032ab566e56d454277a30464194fb31fc31e0e9
parent[automerger skipped] Merge "Merge Android 12" am: 436a520a57 -s ours (diff)
parentMerge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" (diff)
downloadandroid_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar.gz
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar.bz2
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar.lz
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar.xz
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.tar.zst
android_bootable_recovery-1eb13afa066ceceaeb6a944899c8ed3d4db16bd6.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;
}