GNOME Bugzilla – Bug 372507
Mac build fixes
Last modified: 2006-11-14 11:54:34 UTC
Building on Mac OS/X 10.4 PPC fails due to printf-ing gsize, size_t and ssize_t fields with %d. I'll attach a patch, which will inherently also show the files and linenumbers involved.
Created attachment 76209 [details] [review] A patch which produces a clean compile. Even though some fields are size_t and ssize_t and not gsize, the patch still uses G_GSIZE_FORMAT and G_GSSIZE_FORMAT to print them.
Thanks! Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl> * gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds), (gst_riff_parse_strf_iavs): * gst/subparse/gstsubparse.c: (convert_encoding): * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_client_write): * gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read), (gst_tcp_read_buffer), (gst_tcp_gdp_read_caps), (gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps): * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render): * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Various gsize and gssize printf fixes. Fixes #372507.