summaryrefslogtreecommitdiffstats
path: root/fuse_sideload/fuse_sideload.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-12 21:46:23 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-12 21:46:23 +0200
commit5ebc53920595d0dff04f000b9d64c5fdfd642b8a (patch)
treeecc8e763f29b4f206b3a5b5fac3fa2c98ccfe6c9 /fuse_sideload/fuse_sideload.cpp
parentDo not write past end of inotify event structure. am: 855803fd4a am: 0dc29da784 am: a2fac3194a am: efc4906a4a am: e81bba5a28 am: 629b188d44 (diff)
parentMerge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB" am: c9549c19ce am: 1eb13afa06 am: 2a91c74161 am: 77b6c04395 (diff)
downloadandroid_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar.gz
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar.bz2
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar.lz
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar.xz
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.tar.zst
android_bootable_recovery-5ebc53920595d0dff04f000b9d64c5fdfd642b8a.zip
Diffstat (limited to 'fuse_sideload/fuse_sideload.cpp')
-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;
}