From fc56adc2e36cd9b41ab05982973916379e733bb1 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 1 Oct 2009 14:19:41 +0200 Subject: [PATCH] audioresample: fix printf variable type Change printf variable type from %lu to %" G_GUINT64_FORMAT " as it should be for guint64. Fixes #596981 --- gst/audioresample/gstaudioresample.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 6d0d9f3..6336db5 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -959,8 +959,9 @@ gst_audio_resample_check_discont (GstAudioResample * resample, GstBuffer * buf) return FALSE; GST_WARNING_OBJECT (resample, - "encountered timestamp discontinuity of %lu samples = %" GST_TIME_FORMAT, - delta, GST_TIME_ARGS (gst_util_uint64_scale_int_round (delta, GST_SECOND, + "encountered timestamp discontinuity of %" G_GUINT64_FORMAT " samples = %" + GST_TIME_FORMAT, delta, + GST_TIME_ARGS (gst_util_uint64_scale_int_round (delta, GST_SECOND, resample->inrate))); return TRUE; } -- 2.7.4