summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluoqiangwei1 <luoqiangwei1@xiaomi.com>2021-09-16 12:25:23 +0200
committerluoqiangwei1 <luoqiangwei1@xiaomi.com>2021-10-12 07:10:43 +0200
commit95b85a4dcb19c152035f4caf673c7fdef7ac7bec (patch)
tree0032ab566e56d454277a30464194fb31fc31e0e9
parentMerge "Merge Android 12" (diff)
downloadandroid_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar.gz
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar.bz2
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar.lz
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar.xz
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.tar.zst
android_bootable_recovery-95b85a4dcb19c152035f4caf673c7fdef7ac7bec.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;
}