diff options
author | Quipyowert2 <38995150+Quipyowert2@users.noreply.github.com> | 2020-02-12 21:04:53 -0800 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-02-13 21:36:37 +0100 |
commit | acb3d10832c92c9f93c3a4d50b00774274bac8c7 (patch) | |
tree | b7d61ff3e9ca61c124fe74831f48e0e00f35ca29 /src/strgen | |
parent | 2196cd3cf87f2fa164ad746b87e2686e2b207158 (diff) | |
download | openttd-acb3d10832c92c9f93c3a4d50b00774274bac8c7.tar.xz |
Codechange: Format unsigned integers with %u instead of %i or %d.
Diffstat (limited to 'src/strgen')
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index c59be0021..87bac5ab6 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -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 ); |