32bit buildfix after r160151
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Dec 2013 23:12:47 +0000 (23:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Dec 2013 23:12:47 +0000 (23:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=125298

Patch by Laszlo Vidacs <lac@inf.u-szeged.hu> on 2013-12-05
Reviewed by Csaba Osztrogon√°c.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(StreamingClient::handleDataReceived):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

index d158bab..60ecb21 100644 (file)
@@ -1,3 +1,13 @@
+2013-12-05  Laszlo Vidacs  <lac@inf.u-szeged.hu>
+
+        32bit buildfix after r160151
+        https://bugs.webkit.org/show_bug.cgi?id=125298
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+        (StreamingClient::handleDataReceived):
+
 2013-12-05  Myles C. Maxfield  <mmaxfield@apple.com>
 
         Cropping and drawing ImageBuffers results in uninitialized data being shown
index af78ae0..d98a35e 100644 (file)
@@ -940,7 +940,7 @@ void StreamingClient::handleDataReceived(const char* data, int length)
 
     GMutexLocker locker(GST_OBJECT_GET_LOCK(src));
 
-    GST_LOG_OBJECT(src, "Have %ld bytes of data", priv->buffer ? gst_buffer_get_size(priv->buffer.get()) : length);
+    GST_LOG_OBJECT(src, "Have %lld bytes of data", priv->buffer ? static_cast<long long>(gst_buffer_get_size(priv->buffer.get())) : length);
 
     ASSERT(!priv->buffer || data == getGstBufferDataPointer(priv->buffer.get()));