From 6ef5f66ef27279aa8c25185d328a6523458bd64a Mon Sep 17 00:00:00 2001 From: Alayan Date: Fri, 12 Oct 2018 20:48:54 +0200 Subject: [PATCH] Fix windows compilation --- src/scriptengine/script_track.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;