[gst-devel] [gst-plugins-base] warnings in riff-media.c and gstaudioresample.c with mingw

Sebastian Dröge slomo at circular-chaos.org
Tue Apr 17 00:19:50 CEST 2007


Am Dienstag, den 17.04.2007, 00:06 +0200 schrieb Vincent Torri:
> Hey,
> 
> in riff-media.c, there are some warnings:
> 
> riff-media.c:1181: warning: long unsigned int format, int arg (arg 8)
> riff-media.c:1181: warning: long unsigned int format, gint arg (arg 9)
> riff-media.c:1187: warning: long unsigned int format, guint32 arg (arg 8)
> riff-media.c:1187: warning: long unsigned int format, gint arg (arg 9)
> riff-media.c:1187: warning: long unsigned int format, gint arg (arg 10)
> 
> for the 2 first and 2 last, you can replace %lu by %d (it seems to work 
> with strf->channels). 
> For the last one, a cast is sufficient, imho.
> 
> in gstaudioresample.c:
> 
> gstaudioresample.c:567: warning: long int format, int arg (arg 8)
> 
> using %d instead of %ld works.
> 
> There is also that unused  variable in the pango plugin:
> 
> gstclockoverlay.c: In function `gst_clock_overlay_render_time':
> gstclockoverlay.c:79: warning: unused variable `dummy'
> 
> otherwise, with the plugins that i selected, gst-plugins-base compiles 
> flawlessly.

Thanks for reporting. All those warnings are fixed now in CVS.

Bye
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070417/e0277b57/attachment.pgp>


More information about the gstreamer-devel mailing list