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

Vincent Torri vtorri at univ-evry.fr
Tue Apr 17 00:06:19 CEST 2007


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.

Vincent Torri




More information about the gstreamer-devel mailing list