# HG changeset patch # User rubidium # Date 1322956062 0 # Node ID b74c52ca03cda1c54d2bbeb13ac09773caf4408d # Parent 820ed7ca5fcc97b18d8f3135f425bb7834a0767c (svn r23417) -Fix: wrong argument to printf diff --git a/src/openttd.cpp b/src/openttd.cpp --- 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++; }