GNOME Bugzilla – Bug 151883
[PATCH] fix cdplayer.c warnings on amd64
Last modified: 2004-12-22 21:47:04 UTC
More string format warnings on amd64, fixed by patch which will be attached in a follow-up. Compiler output: if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/nathanr/bin/gnome2-cvs/include/glib-2.0 -I/home/nathanr/bin/gnome2-cvs/lib64/glib-2.0/include -I/home/nathanr/bin/gnome2-cvs/include/libxml2 -I/home/nathanr/bin/gnome2-cvs/include/gstreamer-0.8 -DGST_DISABLE_DEPRECATED -Wall -Werror -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/home/nathanr/bin/gnome2-cvs/include/gtk-2.0 -I/home/nathanr/bin/gnome2-cvs/lib64/gtk-2.0/include -I/home/nathanr/bin/gnome2-cvs/include -I/usr/X11R6/include -I/home/nathanr/bin/gnome2-cvs/include/atk-1.0 -I/home/nathanr/bin/gnome2-cvs/include/pango-1.0 -I/usr/include/freetype2 -I/home/nathanr/bin/gnome2-cvs/include/glib-2.0 -I/home/nathanr/bin/gnome2-cvs/lib64/glib-2.0/include -g -O2 -MT cdplayer.o -MD -MP -MF ".deps/cdplayer.Tpo" -c -o cdplayer.o cdplayer.c; \ then mv -f ".deps/cdplayer.Tpo" ".deps/cdplayer.Po"; else rm -f ".deps/cdplayer.Tpo"; exit 1; fi cdplayer.c: In function `format_value': cdplayer.c:43: warning: long long int format, gint64 arg (arg 2) cdplayer.c:43: warning: long long int format, gint64 arg (arg 3) cdplayer.c:43: warning: long long int format, gint64 arg (arg 4) cdplayer.c: In function `query_durations': cdplayer.c:80: warning: long long int format, gint64 arg (arg 3) cdplayer.c: In function `query_positions': cdplayer.c:109: warning: long long int format, gint64 arg (arg 3) cdplayer.c: In function `update_scale': cdplayer.c:141: warning: long long unsigned int format, guint64 arg (arg 2) cdplayer.c: In function `stop_seek': cdplayer.c:186: warning: long long int format, gint64 arg (arg 2) make[3]: *** [cdplayer.o] Error 1 make[3]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins/examples/seeking' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins' make: *** [all] Error 2 *** error during stage build of gst-plugins: could not build module *** [70/91]
Created attachment 31289 [details] [review] Change %llu and friends to G_GUINT64_FORMAT and friends
Applied.