summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_info.cpp')
-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);