summaryrefslogtreecommitdiffstats
path: root/gst/multipart
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-01-25 10:36:35 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-01-25 10:36:35 +0000
commitd7666d033cd698b70fc7d96f94e1e24bbee4fda6 (patch)
tree6194eb91d3cb359171d1a5cc84ef64872d5b0046 /gst/multipart
parent85420195b22b54f306833be2d4ba66fd2ff6b6e8 (diff)
Use G_GSIZE_FORMAT in print statements for portability.
Original commit message from CVS: * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * sys/ximage/ximageutil.c: (ximageutil_check_xshm_calls): Use G_GSIZE_FORMAT in print statements for portability. Fixes build on macosx.
Diffstat (limited to 'gst/multipart')
-rw-r--r--gst/multipart/multipartmux.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c
index bd98dd8b..e87d42aa 100644
--- a/gst/multipart/multipartmux.c
+++ b/gst/multipart/multipartmux.c
@@ -494,7 +494,8 @@ gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux)
GST_BUFFER_OFFSET (headerbuf) = mux->offset;
mux->offset += headerlen;
- GST_DEBUG_OBJECT (mux, "pushing %u bytes header buffer", headerlen);
+ GST_DEBUG_OBJECT (mux, "pushing %" G_GSIZE_FORMAT " bytes header buffer",
+ headerlen);
ret = gst_pad_push (mux->srcpad, headerbuf);
if (ret != GST_FLOW_OK)
/* push always takes ownership of the buffer, even after an error, so we
@@ -552,7 +553,8 @@ no_caps:
}
alloc_failed:
{
- GST_WARNING_OBJECT (mux, "failed allocating a %d bytes buffer", headerlen);
+ GST_WARNING_OBJECT (mux,
+ "failed allocating a %" G_GSIZE_FORMAT " bytes buffer", headerlen);
g_free (header);
goto beach;
}