diff --git a/src/scriptengine/script_track.cpp b/src/scriptengine/script_track.cpp index 5335c39d6..1d7e5789a 100644 --- a/src/scriptengine/script_track.cpp +++ b/src/scriptengine/script_track.cpp @@ -82,7 +82,7 @@ namespace Scripting asIScriptEngine* engine = ctx->GetEngine(); asITypeInfo* t = engine->GetTypeInfoByDecl("array"); CScriptArray* script_array = CScriptArray::Create(t, tl.size()); - for (uint i = 0; i < tl.size(); ++i) + for (unsigned int i = 0; i < tl.size(); ++i) script_array->SetValue(i, &tl[i]); return script_array; @@ -325,7 +325,7 @@ namespace Scripting ((scene::IAnimatedMeshSceneNode*)(memory)); core::array& f = node->getAnimationSetFrames(); CScriptArray* script_array = CScriptArray::Create(t, f.size()); - for (uint i = 0; i < f.size(); ++i) + for (unsigned int i = 0; i < f.size(); ++i) script_array->SetValue(i, &f[i]); return script_array;