run_dedupe.c:161:44: error: passing argument 4 of ‘fiemap_count_shared’ from incompatible pointer type [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
161 | &bytes);
| ^~~~~~
| |
| uint64_t * {aka long long unsigned int *}
In file included from run_dedupe.c:42:
fiemap.h:29:75: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘uint64_t *’ {aka ‘long long unsigned int *’}
29 | count_shared(int fd, size_t start_off, size_t end_off, size_t *shared);
| ~~~~~~~~^~~~~~
As size_t is 32 bit on 32-bit systems and 64 on 64-bit.
Gentoo bug: https://bugs.gentoo.org/928358 Error:
As size_t is 32 bit on 32-bit systems and 64 on 64-bit.