Title: [94490] trunk/Tools
Revision
94490
Author
[email protected]
Date
2011-09-03 10:13:58 -0700 (Sat, 03 Sep 2011)

Log Message

32-bit build fix.

* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
(TestWebKitAPI::Util::toSTD):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (94489 => 94490)


--- trunk/Tools/ChangeLog	2011-09-03 16:13:57 UTC (rev 94489)
+++ trunk/Tools/ChangeLog	2011-09-03 17:13:58 UTC (rev 94490)
@@ -1,5 +1,12 @@
 2011-09-03  Dan Bernstein  <[email protected]>
 
+        32-bit build fix.
+
+        * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
+        (TestWebKitAPI::Util::toSTD):
+
+2011-09-03  Dan Bernstein  <[email protected]>
+
         Move testStringByEvaluatingJavaScriptFromString() from DumpRenderTree to TestWebKitAPI
         https://bugs.webkit.org/show_bug.cgi?id=67559
 

Modified: trunk/Tools/TestWebKitAPI/mac/PlatformUtilitiesMac.mm (94489 => 94490)


--- trunk/Tools/TestWebKitAPI/mac/PlatformUtilitiesMac.mm	2011-09-03 16:13:57 UTC (rev 94489)
+++ trunk/Tools/TestWebKitAPI/mac/PlatformUtilitiesMac.mm	2011-09-03 17:13:58 UTC (rev 94490)
@@ -79,7 +79,7 @@
 {
     size_t bufferSize = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding];
     OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]);
-    size_t stringLength;
+    NSUInteger stringLength;
     [string getBytes:buffer.get() maxLength:bufferSize usedLength:&stringLength encoding:NSUTF8StringEncoding options:0 range:NSMakeRange(0, [string length]) remainingRange:0];
     return std::string(buffer.get(), stringLength);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to