[gstreamer-bugs] [Bug 369366] MacOSX printf fixes for CVS

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 2 07:06:48 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=369366

  GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Comment #2 from Jan David Mol  2006-11-02 15:05 UTC -------
Some are fixed, but I still get warnings:

gstfilesrc.c: In function 'gst_file_src_create_mmap':
gstfilesrc.c:708: warning: format '%d' expects type 'int', but argument 9 has
type 'size_t'
gstfilesrc.c:708: warning: format '%d' expects type 'int', but argument 11 has
type 'size_t'
gstfilesrc.c:717: warning: format '%08x' expects type 'unsigned int', but
argument 8 has type 'size_t'

Having peeked at your changes, the following seems appropriate:

Index: ./plugins/elements/gstfilesrc.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/plugins/elements/gstfilesrc.c,v
retrieving revision 1.142
diff -r1.142 gstfilesrc.c
709c709
<           "read buf %llu+%d in new mapbuf at %llu+%d, mapping and
subbuffering",
---
>           "read buf %llu+%" G_GSIZE_FORMAT " in new mapbuf at %llu+%" G_GSIZE_FORMAT ", mapping and subbuffering",
717c717
<         GST_LOG_OBJECT (src, "readsize smaller then mapsize %08x %d",
---
>         GST_LOG_OBJECT (src, "readsize smaller then mapsize %" G_GSIZE_FORMAT " %d",


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list