summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_cargo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_cargo.cpp')
-rw-r--r--src/ai/api/ai_cargo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_cargo.cpp b/src/ai/api/ai_cargo.cpp
index 5c38c7107..f77fe6dfb 100644
--- a/src/ai/api/ai_cargo.cpp
+++ b/src/ai/api/ai_cargo.cpp
@@ -22,7 +22,7 @@
/* static */ bool AICargo::IsValidTownEffect(TownEffect towneffect_type)
{
- return (towneffect_type >= TE_BEGIN && towneffect_type < TE_END);
+ return (towneffect_type >= (TownEffect)TE_BEGIN && towneffect_type < (TownEffect)TE_END);
}
/* static */ char *AICargo::GetCargoLabel(CargoID cargo_type)