diff options
author | Matej Knopp <matej.knopp@gmail.com> | 2011-11-21 20:31:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-11-22 01:28:22 +0000 |
commit | 1e5dd9e3150153d35eb5843c127d11d56b410a32 (patch) | |
tree | 1535824fbb08757035818578db64d68825b000c1 /gst/audioparsers | |
parent | f8e988a94cdfe15ee65b2c81fea049c1d39716cb (diff) |
Fix printf format compiler warnings on OS X / 64bit
https://bugzilla.gnome.org/show_bug.cgi?id=662615
Diffstat (limited to 'gst/audioparsers')
-rw-r--r-- | gst/audioparsers/gstdcaparse.c | 5 | ||||
-rw-r--r-- | gst/audioparsers/gstflacparse.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gst/audioparsers/gstdcaparse.c b/gst/audioparsers/gstdcaparse.c index 7ebbc701fe..4aa071c186 100644 --- a/gst/audioparsers/gstdcaparse.c +++ b/gst/audioparsers/gstdcaparse.c @@ -391,8 +391,9 @@ gst_dca_parse_check_valid_frame (GstBaseParse * parse, } else { /* FIXME: baseparse always seems to hand us buffers of min_frame_size * bytes, which is unhelpful here */ - GST_LOG_OBJECT (dcaparse, "next sync out of reach (%u < %u)", - bufsize, size + 16); + GST_LOG_OBJECT (dcaparse, + "next sync out of reach (%" G_GSIZE_FORMAT " < %u)", bufsize, + size + 16); /* *skipsize = 0; */ /* return FALSE; */ } diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c index 3935169ce8..c91e3c0642 100644 --- a/gst/audioparsers/gstflacparse.c +++ b/gst/audioparsers/gstflacparse.c @@ -770,7 +770,7 @@ gst_flac_parse_check_valid_frame (GstBaseParse * parse, goto cleanup; } else { GST_ERROR_OBJECT (flacparse, - "Giving up on invalid frame (%d bytes)", bufsize); + "Giving up on invalid frame (%" G_GSIZE_FORMAT " bytes)", bufsize); result = FALSE; goto cleanup; } @@ -815,8 +815,8 @@ gst_flac_parse_handle_streaminfo (GstFlacParse * flacparse, GstBuffer * buffer) gst_bit_reader_init (&reader, data, size); if (size != 4 + 34) { - GST_ERROR_OBJECT (flacparse, "Invalid metablock size for STREAMINFO: %u", - size); + GST_ERROR_OBJECT (flacparse, + "Invalid metablock size for STREAMINFO: %" G_GSIZE_FORMAT "", size); goto failure; } |