GNOME Bugzilla – Bug 151884
[PATCH] Fix format string warnings in cdparanoia.c
Last modified: 2004-12-22 21:47:04 UTC
Another amd64 format string issue, fixed in a patch I'll post in a follow-up: 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 cdparanoia.o -MD -MP -MF ".deps/cdparanoia.Tpo" -c -o cdparanoia.o cdparanoia.c; \ then mv -f ".deps/cdparanoia.Tpo" ".deps/cdparanoia.Po"; else rm -f ".deps/cdparanoia.Tpo"; exit 1; fi cdparanoia.c: In function `get_position_info': cdparanoia.c:32: warning: long long int format, gint64 arg (arg 3) cdparanoia.c:32: warning: long long int format, gint64 arg (arg 4) cdparanoia.c:34: warning: long long int format, gint64 arg (arg 3) cdparanoia.c: In function `get_track_info': cdparanoia.c:77: warning: long long int format, gint64 arg (arg 3) cdparanoia.c:77: warning: long long int format, gint64 arg (arg 4) cdparanoia.c:79: warning: long long int format, gint64 arg (arg 3) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 3) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 4) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 5) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 6) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 7) cdparanoia.c:118: warning: long long int format, gint64 arg (arg 8) make[3]: *** [cdparanoia.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 31290 [details] [review] change %llu and friends to GLib constants
Applied.