summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorDomagoj Tršan <domagoj.trsan@gmail.com>2016-09-18 00:10:23 +0100
committerDavid Sterba <dsterba@suse.com>2016-10-03 11:35:50 +0200
commitff9ee51677818b7e6ea5caacb03dbbc45f5be706 (patch)
tree74f48bc8a14e5159dc9bd5944a1b90fc9355c4bb /cmds-check.c
parentb56fe169227a17bc92dea2fa399d1fb77e7cd233 (diff)
btrfs-progs: change btrfs_csum_final result param type to u8
Signed-off-by: Domagoj Tršan <domagoj.trsan@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-check.c b/cmds-check.c
index 5f382534..998ba63d 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -5761,7 +5761,7 @@ again:
csum = btrfs_csum_data(NULL, (char *)data + tmp,
csum, root->sectorsize);
- btrfs_csum_final(csum, (char *)&csum);
+ btrfs_csum_final(csum, (u8 *)&csum);
csum_offset = leaf_offset +
tmp / root->sectorsize * csum_size;