https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83067
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ktkachov at gcc dot gnu.org Resolution|--- |INVALID --- Comment #3 from ktkachov at gcc dot gnu.org --- The correct format specifier to print an unsigned long long is "%llu", not "%d". If you want to print the signed variant (i.e. -65527) you should use "%lld"