Mercurial > hg > openttd
changeset 12919:a93d65b7da9f draft
(svn r17411) -Codechange: silence an ICC compile warning
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 03 Sep 2009 22:56:30 +0000 |
parents | d595a7dce1de |
children | 0cde81b7efca |
files | src/ai/api/ai_map.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ai/api/ai_map.hpp +++ b/src/ai/api/ai_map.hpp @@ -20,7 +20,7 @@ class AIMap : public AIObject { public: #ifdef DEFINE_SCRIPT_FILES - static const int TILE_INVALID = INVALID_TILE; //!< Invalid TileIndex. + static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex. #endif /* DEFINE_SCRIPT_FILES */ #ifdef DOXYGEN_SKIP const static TileIndex TILE_INVALID; //!< Invalid TileIndex.