summaryrefslogtreecommitdiff
path: root/lib/tar/checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar/checksum.c')
-rw-r--r--lib/tar/checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tar/checksum.c b/lib/tar/checksum.c
index 6bbe5d8..144ba43 100644
--- a/lib/tar/checksum.c
+++ b/lib/tar/checksum.c
@@ -38,7 +38,7 @@ void update_checksum(tar_header_t *hdr)
bool is_checksum_valid(const tar_header_t *hdr)
{
unsigned int calculated_chksum = get_checksum(hdr);
- uint64_t read_chksum;
+ sqfs_u64 read_chksum;
if (read_octal(hdr->chksum, sizeof(hdr->chksum), &read_chksum))
return 0;