From 0adcb5bc2f875e08cdfa17e7d0454707230915a1 Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 13 Jan 2009 01:52:32 +0000 Subject: [PATCH] (svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;) --- src/ai/ai_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index 9f9d6d5f39..6d8449e3b9 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);