Codechange: Format unsigned integers with %u instead of %i or %d.

This commit is contained in:
Quipyowert2
2020-02-12 21:04:53 -08:00
committed by Michael Lutz
parent 2196cd3cf8
commit acb3d10832
4 changed files with 8 additions and 8 deletions

View File

@@ -310,7 +310,7 @@ struct HeaderFileWriter : HeaderWriter, FileWriter {
fprintf(this->fh,
"\n"
"static const uint LANGUAGE_PACK_VERSION = 0x%X;\n"
"static const uint LANGUAGE_MAX_PLURAL = %d;\n"
"static const uint LANGUAGE_MAX_PLURAL = %u;\n"
"static const uint LANGUAGE_MAX_PLURAL_FORMS = %d;\n\n",
(uint)data.Version(), (uint)lengthof(_plural_forms), max_plural_forms
);