aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/tar2sqfs/process_tarball.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tar2sqfs/process_tarball.c b/bin/tar2sqfs/process_tarball.c
index 1118822..8465760 100644
--- a/bin/tar2sqfs/process_tarball.c
+++ b/bin/tar2sqfs/process_tarball.c
@@ -48,7 +48,7 @@ static int write_file(istream_t *input_file, sqfs_writer_t *sqfs,
diff = filesize - offset;
}
- if (sizeof(diff) > sizeof(size_t) && diff > 0x7FFFFFFFUL)
+ if (diff > 0x7FFFFFFFUL)
diff = 0x7FFFFFFFUL;
if (sparse_region) {