2007-11-05 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 07:30:22 +0000 (07:30 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 07:30:22 +0000 (07:30 +0000)
        Mac build fix.

        * kjs/array_object.cpp:
        (KJS::ArrayProtoFunc::callAsFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/array_object.cpp

index b8c678a82df965c8868aa55165903f89299fee2a..8ba409b4821749043189cba8ffa6da52cf165bde 100644 (file)
@@ -1,3 +1,10 @@
+2007-11-05  Mark Rowe  <mrowe@apple.com>
+
+        Mac build fix.
+
+        * kjs/array_object.cpp:
+        (KJS::ArrayProtoFunc::callAsFunction):
+
 2007-11-05  Adam Roben  <aroben@apple.com>
 
         Windows build fix
index 98b8d53c7ca9b3ee30e4884250ff747193847033..25e4eb3e240d4f2a381c199904250c106bc4a729 100644 (file)
@@ -205,7 +205,7 @@ JSValue* ArrayProtoFunc::callAsFunction(ExecState* exec, JSObject* thisObj, cons
     break;
   }
   case Push: {
-    for (int n = 0; n < args.size(); n++)
+    for (unsigned int n = 0; n < args.size(); n++)
       thisObj->put(exec, length + n, args[n]);
     length += args.size();
     thisObj->put(exec, exec->propertyNames().length, jsNumber(length), DontEnum | DontDelete);