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);
GST_DEBUG_OBJECT (flacdec, "seek %" G_GINT64_FORMAT, (gint64) position);
GST_DEBUG_OBJECT (flacdec, "seek %" G_GUINT64_FORMAT, position);
flacdec->offset = position;
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
GST_LOG
("Frame @ %d (0x%02x) id %s size %d, next=%d (0x%02x) obsolete=%d",
(gint) (work->hdr.frame_data - start),
(gint) (work->hdr.frame_data - start), frame_id, frame_size,
(gint) (work->hdr.frame_data + frame_hdr_size + frame_size - start),
(gint) (work->hdr.frame_data + frame_hdr_size + frame_size - start),
("Frame @ %u (0x%02x) id %s size %u, next=%u (0x%02x) obsolete=%d",
work->hdr.frame_data - start,
work->hdr.frame_data - start, frame_id, frame_size,
work->hdr.frame_data + frame_hdr_size + frame_size - start,
work->hdr.frame_data + frame_hdr_size + frame_size - start,
obsolete_id);
#define flag_string(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++) {
if ((current[i] == 0x0) &&
(current[i + 1] == 0x0) && (current[i + 2] >> 7 == 0x1)) {
GST_LOG ("GOB end found at: %p start: %p len: %d", current + i - 1,
boundry->end + 1, (gint) (current + i - boundry->end + 2));
GST_LOG ("GOB end found at: %p start: %p len: %u", current + i - 1,
boundry->end + 1, current + i - boundry->end + 2);
gst_rtp_h263_pay_boundry_init (boundry, boundry->end + 1,
current + i - 1, 0, 0);

View file

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