Build fix - 2gig is on that pesky signed/unsigned limit...
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 01:57:53 +0000 (01:57 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 01:57:53 +0000 (01:57 +0000)
        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge getObjectCacheSize]):

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

WebKit/ChangeLog
WebKit/WebCoreSupport/WebFrameBridge.m

index d65a3a1b1f49abfc5532c4943a13f3fa4d9f198c..0faad2652da3a8df884ab23349ec22bfe3746347 100644 (file)
@@ -1,3 +1,10 @@
+2006-10-19  Brady Eidson <beidson@apple.com>
+
+        Build fix - 2gig is on that pesky signed/unsigned limit...
+
+        * WebCoreSupport/WebFrameBridge.m:
+        (-[WebFrameBridge getObjectCacheSize]):
+
 2006-10-19  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Hyatt.
index f0a6f11711db3e1784efaa79a3ba25a61ce2deb4..17387e8f00503871ed37289cf10a1d200a38c6b8 100644 (file)
@@ -900,7 +900,7 @@ static BOOL loggedObjectCacheSize = NO;
     int cacheSize = [[self _preferences] _objectCacheSize];
     int multiplier = 1;
     
-    if (memSize >= 2048 * 1024 * 1024
+    if (memSize >= (unsigned)(2048 * 1024 * 1024)
         multiplier = 8;
     else if (memSize >= 1024 * 1024 * 1024)
         multiplier = 4;