QDeclarativeBuiltinFunctions: Remove warning
authorAurindam Jana <aurindam.jana@nokia.com>
Tue, 13 Dec 2011 10:32:35 +0000 (11:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 03:53:05 +0000 (04:53 +0100)
Change-Id: Id603b5a47d993d07a0562a457d9d03752e9d8151
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
src/declarative/qml/v8/qdeclarativebuiltinfunctions.cpp

index d3d37c2..3e0b3b8 100644 (file)
@@ -227,7 +227,7 @@ v8::Handle<v8::Value> consoleTrace(const v8::Arguments &args)
         v8::StackTrace::CurrentStackTrace(10, v8::StackTrace::kOverview);
     int stackCount = stackTrace->GetFrameCount();
 
-    for (uint i = 0; i < stackCount; i++) {
+    for (int i = 0; i < stackCount; i++) {
         v8::Local<v8::StackFrame> frame = stackTrace->GetFrame(i);
         v8::String::Utf8Value func_name(frame->GetFunctionName());
         v8::String::Utf8Value script_name(frame->GetScriptName());