summaryrefslogtreecommitdiff
path: root/src/newgrf_profiling.cpp
diff options
context:
space:
mode:
authorQuipyowert2 <38995150+Quipyowert2@users.noreply.github.com>2020-02-12 21:04:53 -0800
committerMichael Lutz <michi@icosahedron.de>2020-02-13 21:36:37 +0100
commitacb3d10832c92c9f93c3a4d50b00774274bac8c7 (patch)
treeb7d61ff3e9ca61c124fe74831f48e0e00f35ca29 /src/newgrf_profiling.cpp
parent2196cd3cf87f2fa164ad746b87e2686e2b207158 (diff)
downloadopenttd-acb3d10832c92c9f93c3a4d50b00774274bac8c7.tar.xz
Codechange: Format unsigned integers with %u instead of %i or %d.
Diffstat (limited to 'src/newgrf_profiling.cpp')
-rw-r--r--src/newgrf_profiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_profiling.cpp b/src/newgrf_profiling.cpp
index e9a0dd92d..17f32384d 100644
--- a/src/newgrf_profiling.cpp
+++ b/src/newgrf_profiling.cpp
@@ -109,7 +109,7 @@ uint32 NewGRFProfiler::Finish()
fputs("Tick,Sprite,Feature,Item,CallbackID,Microseconds,Depth,Result\n", f);
for (const Call &c : this->calls) {
- fprintf(f, "%u,%u,0x%X,%d,0x%X,%u,%u,%u\n", c.tick, c.root_sprite, c.feat, c.item, (uint)c.cb, c.time, c.subs, c.result);
+ fprintf(f, "%u,%u,0x%X,%u,0x%X,%u,%u,%u\n", c.tick, c.root_sprite, c.feat, c.item, (uint)c.cb, c.time, c.subs, c.result);
total_microseconds += c.time;
}