summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-03 23:47:42 +0000
committerrubidium <rubidium@openttd.org>2011-12-03 23:47:42 +0000
commita37e8ebe4328fa22844a88ee4a5e004200b55c97 (patch)
treefb2f18f968e03e5d8b7e92cb303853610a473902 /src
parent0e5e8fff12a3c91f0198afb25c03eb71b2248005 (diff)
downloadopenttd-a37e8ebe4328fa22844a88ee4a5e004200b55c97.tar.xz
(svn r23417) -Fix: wrong argument to printf
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 520589b8e..2ec5cea65 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1126,7 +1126,7 @@ static void CheckCaches()
uint i = 0;
FOR_ALL_COMPANIES(c) {
if (MemCmpT(old_infrastructure.Get(i), &c->infrastructure) != 0) {
- DEBUG(desync, 2, "infrastructure cache mismatch: company %i", c->index);
+ DEBUG(desync, 2, "infrastructure cache mismatch: company %i", (int)c->index);
}
i++;
}