mirror of https://github.com/MidnightCommander/mc
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:
parent
87a76294c4
commit
0cfccd5882
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue