build: don't cast, but use the right format specified instead

This correct some of the previous macos fixes.
This commit is contained in:
Stefan Kost 2009-10-09 13:38:17 +03:00
parent 696e350c7b
commit f41d7e7bd5
4 changed files with 9 additions and 10 deletions

View file

@ -669,7 +669,7 @@ gst_flac_dec_seek (const FLAC__StreamDecoder * decoder,
flacdec = GST_FLAC_DEC (client_data); flacdec = GST_FLAC_DEC (client_data);
GST_DEBUG_OBJECT (flacdec, "seek %" G_GINT64_FORMAT, (gint64) position); GST_DEBUG_OBJECT (flacdec, "seek %" G_GUINT64_FORMAT, position);
flacdec->offset = position; flacdec->offset = position;
return FLAC__STREAM_DECODER_SEEK_STATUS_OK; return FLAC__STREAM_DECODER_SEEK_STATUS_OK;

View file

@ -469,11 +469,11 @@ id3demux_id3v2_frames_to_tag_list (ID3TagsWorking * work, guint size)
#if 1 #if 1
GST_LOG GST_LOG
("Frame @ %d (0x%02x) id %s size %d, next=%d (0x%02x) obsolete=%d", ("Frame @ %u (0x%02x) id %s size %u, next=%u (0x%02x) obsolete=%d",
(gint) (work->hdr.frame_data - start), work->hdr.frame_data - start,
(gint) (work->hdr.frame_data - start), frame_id, frame_size, work->hdr.frame_data - start, frame_id, frame_size,
(gint) (work->hdr.frame_data + frame_hdr_size + frame_size - start), work->hdr.frame_data + frame_hdr_size + frame_size - start,
(gint) (work->hdr.frame_data + frame_hdr_size + frame_size - start), work->hdr.frame_data + frame_hdr_size + frame_size - start,
obsolete_id); obsolete_id);
#define flag_string(flag,str) \ #define flag_string(flag,str) \
((frame_flags & (flag)) ? (str) : "") ((frame_flags & (flag)) ? (str) : "")

View file

@ -707,8 +707,8 @@ gst_rtp_h263_pay_gobfinder (GstRtpH263Pay * rtph263pay,
for (i = 3; i < range - 3; i++) { for (i = 3; i < range - 3; i++) {
if ((current[i] == 0x0) && if ((current[i] == 0x0) &&
(current[i + 1] == 0x0) && (current[i + 2] >> 7 == 0x1)) { (current[i + 1] == 0x0) && (current[i + 2] >> 7 == 0x1)) {
GST_LOG ("GOB end found at: %p start: %p len: %d", current + i - 1, GST_LOG ("GOB end found at: %p start: %p len: %u", current + i - 1,
boundry->end + 1, (gint) (current + i - boundry->end + 2)); boundry->end + 1, current + i - boundry->end + 2);
gst_rtp_h263_pay_boundry_init (boundry, boundry->end + 1, gst_rtp_h263_pay_boundry_init (boundry, boundry->end + 1,
current + i - 1, 0, 0); current + i - 1, 0, 0);

View file

@ -502,8 +502,7 @@ gst_rtp_vraw_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer)
if (!cont) if (!cont)
break; break;
} }
GST_LOG_OBJECT (rtpvrawpay, "consumed %d bytes", GST_LOG_OBJECT (rtpvrawpay, "consumed %u bytes", outdata - headers);
(gint) (outdata - headers));
/* second pass, read headers and write the data */ /* second pass, read headers and write the data */
while (TRUE) { while (TRUE) {