dmabuf: Use correct print format specifier to fix a compiler warning
authorJosep Torra <n770galaxy@gmail.com>
Sun, 10 Mar 2013 17:05:28 +0000 (18:05 +0100)
committerJosep Torra <n770galaxy@gmail.com>
Sun, 10 Mar 2013 17:05:28 +0000 (18:05 +0100)
gst-libs/gst/allocators/gstdmabuf.c

index 6de525f..b2c88be 100644 (file)
@@ -294,7 +294,8 @@ gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size)
   mem->mmap_count = 0;
   g_mutex_init (&mem->lock);
 
-  GST_DEBUG ("%p: fd: %d size %d", mem, mem->fd, mem->mem.maxsize);
+  GST_DEBUG ("%p: fd: %d size %" G_GSIZE_FORMAT, mem, mem->fd,
+      mem->mem.maxsize);
 
   return (GstMemory *) mem;
 }