Closed frederic-mahe closed 2 years ago
Thanks for the contribution, but this causes the opposite problem on macOS and Windows:
derep.cc: In function ‘void derep(char*, bool)’:
derep.cc:974:21: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=]
"%s\t%s%" PRIu64 "\t%" PRIu64 "\t%" PRIu64 "\t%u\t%s\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
derep.cc:978:21: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
"%s\t%s\t%" PRIu64 "\t%" PRIu64 "\t%u\t%s\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Looking to find a way to specify a zero constant in PRIu64... :-)
issue fixed using (unit64)
type casting.