Codechange: Format unsigned integers with %u instead of %i or %d.
This commit is contained in:

committed by
Michael Lutz

parent
2196cd3cf8
commit
acb3d10832
@@ -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));
|
||||
|
Reference in New Issue
Block a user