changeset 18572:b74c52ca03cd draft

(svn r23417) -Fix: wrong argument to printf
author rubidium <rubidium@openttd.org>
date Sat, 03 Dec 2011 23:47:42 +0000
parents 820ed7ca5fcc
children 36da76b1633f
files src/openttd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1126,7 +1126,7 @@
 	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++;
 	}