aboutsummaryrefslogtreecommitdiff
path: root/difftool/compare_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'difftool/compare_files.c')
-rw-r--r--difftool/compare_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/difftool/compare_files.c b/difftool/compare_files.c
index 51b66bb..b25172a 100644
--- a/difftool/compare_files.c
+++ b/difftool/compare_files.c
@@ -13,7 +13,7 @@ static int read_blob(const char *prefix, const char *path,
sqfs_data_reader_t *rd, const sqfs_inode_generic_t *inode,
void *buffer, sqfs_u64 offset, size_t size)
{
- ssize_t ret;
+ sqfs_s32 ret;
ret = sqfs_data_reader_read(rd, inode, offset, buffer, size);
ret = (ret < 0 || (size_t)ret < size) ? -1 : 0;