Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(compare_files): fix
-Wstringop-overread
warning exposed on s390x
…
… (GCC 11) ``` ../../../src/filemanager/cmd.c: In function ‘compare_files’: ../../../src/filemanager/cmd.c:197:37: warning: ‘memcmp’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 197 | result = (n1 != n2) || (memcmp (buf1, buf2, n1) != 0); | ^~~~~~~~~~~~~~~~~~~~~~~ ``` Signed-off-by: Yury V. Zaytsev <[email protected]>
- Loading branch information