Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9549c19 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix the fuse error that cannot handle the OTA package larger than 4 GiB"

parents 436a520a 95b85a4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }