diff options
author | Josep Torra <n770galaxy@gmail.com> | 2013-03-10 21:21:17 +0100 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2013-03-10 21:21:17 +0100 |
commit | 87e053386a73e15c2168a1658393dfdda9ba01f4 (patch) | |
tree | f0bd5a3b2e2a41234d801361aab62b775287fd3a /sys/shm | |
parent | c2446a70f65e5483327a6596eb28ee3a255ab0eb (diff) |
shmsink: Use correct print format specifiers to fix compiler warnings
Diffstat (limited to 'sys/shm')
-rw-r--r-- | sys/shm/gstshmsink.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c index bf6420058..86b2337f6 100644 --- a/sys/shm/gstshmsink.c +++ b/sys/shm/gstshmsink.c @@ -263,8 +263,9 @@ gst_shm_sink_allocator_alloc_locked (GstShmSinkAllocator * self, gsize size, GstShmSinkMemory *mymem; gsize aoffset, padding; - GST_LOG_OBJECT (self, "Allocated block %p with %u bytes at %p", - block, size, sp_writer_block_get_buf (block)); + GST_LOG_OBJECT (self, + "Allocated block %p with %" G_GSIZE_FORMAT " bytes at %p", block, size, + sp_writer_block_get_buf (block)); mymem = g_slice_new0 (GstShmSinkMemory); memory = GST_MEMORY_CAST (mymem); @@ -306,8 +307,9 @@ gst_shm_sink_allocator_alloc (GstAllocator * allocator, gsize size, if (!memory) { memory = gst_allocator_alloc (NULL, size, params); - GST_LOG_OBJECT (self, "Not enough shared memory for GstMemory of %u bytes, " - "allocating using standard allocator", size); + GST_LOG_OBJECT (self, + "Not enough shared memory for GstMemory of %" G_GSIZE_FORMAT + "bytes, allocating using standard allocator", size); } return memory; |