diff options
author | David Sterba <dsterba@suse.com> | 2017-09-23 20:45:24 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-25 15:18:19 +0200 |
commit | 510a282f7f17ec3541a0f6845cb100847aa6857f (patch) | |
tree | ccda3a257c29ea05f3a5d83668df89ad3947e00d /extent-cache.c | |
parent | 8eccfa86c0c7f1645556a119d8b217d7173af10d (diff) |
btrfs-progs: print-tree: use proper helper for reading offset
Sparse warns
print-tree.c:1261:49: warning: incorrect type in argument 4 (different base types)
print-tree.c:1261:49: expected unsigned long long [unsigned] [usertype] start
print-tree.c:1261:49: got restricted __le64 [addressable] [usertype] offset
which means we have to use the helper instead of directly accessing the offset
member. This could print bogus number on bigendian arch.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'extent-cache.c')
0 files changed, 0 insertions, 0 deletions