[Bug 699008] Fix printf format compiler warning

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 29 01:05:37 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=699008
  GStreamer | gst-omx | git

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-04-29 08:05:30 UTC ---
> Where do these %zu come from at all? I didn't even know it existed :)

My fault that. It's C99, which we couldn't use so far because we couldn't rely
on the printf implementation supporting it in all cases, but now with the new
implementation we could, I thought.

> IMHO we should use G_GSIZE_FORMAT and friends, and cast all these weird OMX
> types to proper types as necessary.

Yes, probably. I started using %zu there before thinking about the gsize
typedef thing and whether the compiler will complain about that or not. I think
we should just leave it in for now and see if it causes any problems.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list