Mac build fix.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Oct 2013 03:51:36 +0000 (03:51 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Oct 2013 03:51:36 +0000 (03:51 +0000)
* DumpRenderTree/mac/DumpRenderTree.mm: Cast the length for %lu specifier.

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

Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTree.mm

index d9c15f8..7dd22e3 100644 (file)
@@ -1,5 +1,11 @@
 2013-10-19  Alexey Proskuryakov  <ap@apple.com>
 
+        Mac build fix.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm: Cast the length for %lu specifier.
+
+2013-10-19  Alexey Proskuryakov  <ap@apple.com>
+
         Enable webaudio/ tests on DRT/Mac
         https://bugs.webkit.org/show_bug.cgi?id=86914
 
index 66ca6e7..705c306 100644 (file)
@@ -1222,7 +1222,7 @@ void dump()
         printf("DumpMalloc: %li\n", mallocStats.committedVMBytes);
 
         if (gTestRunner->dumpAsAudio())
-            printf("Content-Length: %lu\n", [resultData length]);
+            printf("Content-Length: %lu\n", static_cast<unsigned long>([resultData length]));
 
         if (resultData) {
             fwrite([resultData bytes], 1, [resultData length], stdout);