GNOME Bugzilla – Bug 151881
[PATCH] Fix format strings for amd64 in seek.c
Last modified: 2004-12-22 21:47:04 UTC
A batch of printf() formats need fixing for amd64. Specifically: make[3]: Entering directory `/home/nathanr/download/gnome-cvs/gst-plugins/examples/seeking' 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 seek.o -MD -MP -MF ".deps/seek.Tpo" -c -o seek.o seek.c; \ then mv -f ".deps/seek.Tpo" ".deps/seek.Po"; else rm -f ".deps/seek.Tpo"; exit 1; fi seek.c: In function `format_value': seek.c:584: warning: long long int format, gint64 arg (arg 2) seek.c:584: warning: long long int format, gint64 arg (arg 3) seek.c:584: warning: long long int format, gint64 arg (arg 4) seek.c: In function `query_rates': seek.c:619: warning: long long int format, gint64 arg (arg 3) seek.c: In function `query_durations_elems': seek.c:650: warning: long long int format, gint64 arg (arg 3) seek.c: In function `query_durations_pads': seek.c:680: warning: long long int format, gint64 arg (arg 3) seek.c: In function `query_positions_elems': seek.c:710: warning: long long int format, gint64 arg (arg 3) seek.c: In function `query_positions_pads': seek.c:740: warning: long long int format, gint64 arg (arg 3) seek.c: In function `update_scale': seek.c:790: warning: long long unsigned int format, guint64 arg (arg 2) seek.c: In function `stop_seek': seek.c:855: warning: long long int format, gint64 arg (arg 2) seek.c:871: warning: long long int format, gint64 arg (arg 2) make[3]: *** [seek.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] I'll attach a patch to fix this as a followup.
Created attachment 31285 [details] [review] make explicit long format strings use the GLib constants
Applied, thanks.