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/fios.cpp | |
parent | 2196cd3cf87f2fa164ad746b87e2686e2b207158 (diff) | |
download | openttd-acb3d10832c92c9f93c3a4d50b00774274bac8c7.tar.xz |
Codechange: Format unsigned integers with %u instead of %i or %d.
Diffstat (limited to 'src/fios.cpp')
-rw-r--r-- | src/fios.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index 24487174b..61f08d93a 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -697,7 +697,7 @@ public: if (f == nullptr) return false; ScenarioIdentifier id; - int fret = fscanf(f, "%i", &id.scenid); + int fret = fscanf(f, "%u", &id.scenid); FioFCloseFile(f); if (fret != 1) return false; strecpy(id.filename, filename, lastof(id.filename)); |