summaryrefslogtreecommitdiffstats
path: root/fuse_sideload/include/fuse_sideload.h
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-03-18 00:45:12 +0100
committerxunchang <xunchang@google.com>2019-03-19 19:11:58 +0100
commitea2912f187cec8d426cfc2ca715b9a503355fa37 (patch)
tree4298ddcf0b5ce74a15a43699adbcc2d27bfb9084 /fuse_sideload/include/fuse_sideload.h
parentMerge "Implement FilePackage class" (diff)
downloadandroid_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.gz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.bz2
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.lz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.xz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.zst
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.zip
Diffstat (limited to 'fuse_sideload/include/fuse_sideload.h')
-rw-r--r--fuse_sideload/include/fuse_sideload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuse_sideload/include/fuse_sideload.h b/fuse_sideload/include/fuse_sideload.h
index 1b34cbdb0..821c7c808 100644
--- a/fuse_sideload/include/fuse_sideload.h
+++ b/fuse_sideload/include/fuse_sideload.h
@@ -28,7 +28,7 @@ static constexpr const char* FUSE_SIDELOAD_HOST_EXIT_PATHNAME = "/sideload/exit"
struct provider_vtab {
// read a block
- std::function<int(uint32_t block, uint8_t* buffer, uint32_t fetch_size)> read_block;
+ std::function<bool(uint32_t block, uint8_t* buffer, uint32_t fetch_size)> read_block;
// close down
std::function<void(void)> close;