summaryrefslogtreecommitdiff
path: root/super-recover.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 /super-recover.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 'super-recover.c')
-rw-r--r--super-recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super-recover.c b/super-recover.c
index 635e804..ecd1215 100644
--- a/super-recover.c
+++ b/super-recover.c
@@ -91,7 +91,7 @@ void free_recover_superblock(struct btrfs_recover_superblock *recover)
static int check_super(u64 bytenr, struct btrfs_super_block *sb)
{
int csum_size = btrfs_super_csum_size(sb);
- char result[csum_size];
+ u8 result[csum_size];
u32 crc = ~(u32)0;
if (btrfs_super_bytenr(sb) != bytenr)