diff options
| author | Josep Torra <n770galaxy@gmail.com> | 2009-10-09 12:25:19 +0200 | 
|---|---|---|
| committer | Josep Torra <n770galaxy@gmail.com> | 2009-10-09 12:25:19 +0200 | 
| commit | 133ebe76a37ac67c194885c26a0344322f391091 (patch) | |
| tree | e3e7bbba54633acb54780f999cbdb048e5429fb9 | |
| parent | 6320de853bad1dbb4872ebfba890f07c54295995 (diff) | |
flac: fix warnings on macosx
| -rw-r--r-- | ext/flac/gstflacdec.c | 7 | ||||
| -rw-r--r-- | ext/flac/gstflacenc.c | 10 | 
2 files changed, 9 insertions, 8 deletions
diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 31c5f853..87077f56 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -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, position); +  GST_DEBUG_OBJECT (flacdec, "seek %" G_GINT64_FORMAT, (gint64) position);    flacdec->offset = position;    return FLAC__STREAM_DECODER_SEEK_STATUS_OK; @@ -685,7 +685,7 @@ gst_flac_dec_tell (const FLAC__StreamDecoder * decoder,    *position = flacdec->offset; -  GST_DEBUG_OBJECT (flacdec, "tell %" G_GINT64_FORMAT, *position); +  GST_DEBUG_OBJECT (flacdec, "tell %" G_GINT64_FORMAT, (gint64) * position);    return FLAC__STREAM_DECODER_TELL_STATUS_OK;  } @@ -711,7 +711,8 @@ gst_flac_dec_length (const FLAC__StreamDecoder * decoder,    *length = len; -  GST_DEBUG_OBJECT (flacdec, "encoded byte length %" G_GINT64_FORMAT, *length); +  GST_DEBUG_OBJECT (flacdec, "encoded byte length %" G_GINT64_FORMAT, +      (gint64) * length);    return FLAC__STREAM_DECODER_LENGTH_STATUS_OK;  } diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 6d86c9bf..47832af2 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -757,16 +757,16 @@ gst_flac_enc_seek_callback (const FLAC__StreamEncoder * encoder,      gst_object_unref (peerpad);      if (ret) { -      GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset, -          "succeeded"); +      GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", +          (guint64) absolute_byte_offset, "succeeded");      } else { -      GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset, -          "failed"); +      GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", +          (guint64) absolute_byte_offset, "failed");        return FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED;      }    } else {      GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " failed (no peer pad)", -        absolute_byte_offset); +        (guint64) absolute_byte_offset);    }    flacenc->offset = absolute_byte_offset;  | 
