From cd1f9ec9927ad57714f8b8b351d6603faef2cb10 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Sun, 10 Mar 2013 18:05:28 +0100 Subject: [PATCH] dmabuf: Use correct print format specifier to fix a compiler warning --- gst-libs/gst/allocators/gstdmabuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/allocators/gstdmabuf.c b/gst-libs/gst/allocators/gstdmabuf.c index 6de525f28a..b2c88beb81 100644 --- a/gst-libs/gst/allocators/gstdmabuf.c +++ b/gst-libs/gst/allocators/gstdmabuf.c @@ -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; }