markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
816 stars 81 forks source link

fix some format string arguments pointed out by cppcheck: #144

Closed matthiaskrgr closed 8 years ago

matthiaskrgr commented 8 years ago
[dedupe.c:108]: (warning) %llu in format string (no. 3) requires 'unsigned long long' but the argument type is 'signed long long'.
[duperemove.c:394]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
[duperemove.c:394]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'.
[filerec.c:679]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[filerec.c:687]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[hashstats.c:255]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[hashstats.c:255]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[run_dedupe.c:396]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.