summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ai/api/ai_map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_map.hpp b/src/ai/api/ai_map.hpp
index e37d7317e..b9d609f4e 100644
--- 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.