summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-13 01:52:32 +0000
committertruebrain <truebrain@openttd.org>2009-01-13 01:52:32 +0000
commit0adcb5bc2f875e08cdfa17e7d0454707230915a1 (patch)
treebe60445ec7bfdd48b0b3875eca89fab3def67618 /src/ai
parentc9d20bfd4774c9dc44f30a2a0e855f5b8d0a47d8 (diff)
downloadopenttd-0adcb5bc2f875e08cdfa17e7d0454707230915a1.tar.xz
(svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;)
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index 9f9d6d5f3..6d8449e3b 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -207,7 +207,7 @@ SQInteger AIInfo::AddSetting(HSQUIRRELVM vm)
AIConfigItem config;
memset(&config, 0, sizeof(config));
config.max_value = 1;
- int items = 0;
+ uint items = 0;
/* Read the table, and find all properties we care about */
sq_pushnull(vm);