audioresample: fix printf variable type
authorRobert Swain <robert swain gmail com>
Thu, 1 Oct 2009 12:19:41 +0000 (14:19 +0200)
committerWim Taymans <wim@metal.(none)>
Tue, 6 Oct 2009 20:37:00 +0000 (22:37 +0200)
Change printf variable type from %lu to %" G_GUINT64_FORMAT " as it
should be for guint64.

Fixes #596981

gst/audioresample/gstaudioresample.c

index 6d0d9f3..6336db5 100644 (file)
@@ -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;
 }