filemanager: use correct type for results of read in mmap fallback

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Yury V. Zaytsev 2024-07-28 09:55:54 +02:00
parent 87a76294c4
commit 0cfccd5882

View File

@ -210,7 +210,7 @@ compare_files (const vfs_path_t *vpath1, const vfs_path_t *vpath2, off_t size)
#else
/* Don't have mmap() :( Even more ugly :) */
char buf1[BUFSIZ], buf2[BUFSIZ];
int n1, n2;
ssize_t n1, n2;
rotate_dash (TRUE);
do