summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-29 19:14:53 (GMT)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-06-29 19:14:53 (GMT)
commitc66c3d354cb711ca3422cc185ba80574756ab039 (patch)
treed6d83b8860c24d7cb00c76c63c33b060031b0b09
parentee4b378c77dc9164f81fc4d8a2c32d7b0178bc00 (diff)
wavparse: fix unportable printf format specifiers in commented out code
To avoid false positives when grepping for unportable specifiers.
-rw-r--r--gst/wavparse/gstwavparse.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 18673ab..0c18560 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -662,15 +662,16 @@ gst_wavparse_other (GstWavParse * wav)
length = G_MAXUINT32;
}
if (file_length > G_MAXUINT32) {
- GST_DEBUG_OBJECT (wav, "file length %lld, clipping to 32 bits");
+ GST_DEBUG_OBJECT (wav, "file length %" G_GUINT64_FORMAT
+ ", clipping to 32 bits", file_length);
/* could not get length, assuming till eof */
length = G_MAXUINT32;
} else {
- GST_DEBUG_OBJECT (wav, "file length %lld, datalength",
- file_length, length);
+ GST_DEBUG_OBJECT (wav, "file length %" G_GUINT64_FORMAT
+ ", datalength %u", file_length, length);
/* substract offset of datastart from length */
length = file_length - wav->datastart;
- GST_DEBUG_OBJECT (wav, "datalength %lld", length);
+ GST_DEBUG_OBJECT (wav, "datalength %u", length);
}
}
wav->datasize = (guint64) length;