audiobuffersplit: Fix format string warning

We have a GST_DEBUG_OBJECT, which prints a guint64 with %lu which gave a
compiler warning. Used G_GUINT64_FORMAT instead.

https://bugzilla.gnome.org/show_bug.cgi?id=797036
This commit is contained in:
Johan Bjäreholt 2018-08-28 09:11:32 +02:00 committed by Sebastian Dröge
parent 62a194c781
commit 962ca01596

View file

@ -573,8 +573,8 @@ gst_audio_buffer_split_clip_buffer_start_for_gapless (GstAudioBufferSplit *
nsamples = gst_buffer_get_size (buffer) / bpf;
GST_DEBUG_OBJECT (self, "Have to drop %lu samples, got %u samples",
self->drop_samples, nsamples);
GST_DEBUG_OBJECT (self, "Have to drop %" G_GUINT64_FORMAT
" samples, got %u samples", self->drop_samples, nsamples);
if (nsamples <= self->drop_samples) {
gst_buffer_unref (buffer);