[Bug 746512] New: oggdemux: fix compiler warning
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 20 01:40:43 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746512
Bug ID: 746512
Summary: oggdemux: fix compiler warning
Classification: Platform
Product: GStreamer
Version: git master
OS: Mac OS
Status: NEW
Severity: minor
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: chul0812 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 299923
--> https://bugzilla.gnome.org/attachment.cgi?id=299923&action=edit
oggdemux: fix compiler warning
Compiler warning format specifies type for printing debug log.
I am trying to compile it on osx, and It cause a build error.
So I fixed this compile warning.
gstoggdemux.c:1233:11: error: format specifies type 'long' but the argument has
type 'ogg_int64_t' (aka 'long long') [-Werror,-Wformat]
granule);
^~~~~~~
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:861:96:
note: expanded from macro 'GST_DEBUG_OBJECT'
#define GST_DEBUG_OBJECT(obj,...) GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT,
GST_LEVEL_DEBUG, obj, __VA_ARGS__)
^
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:541:31:
note: expanded from macro 'GST_CAT_LEVEL_LOG'
(GObject *) (object), __VA_ARGS__); \
^
gstoggdemux.c:1255:15: error: format specifies type 'long' but the argument has
type 'ogg_int64_t' (aka 'long long') [-Werror,-Wformat]
duration);
^~~~~~~~
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:861:96:
note: expanded from macro 'GST_DEBUG_OBJECT'
#define GST_DEBUG_OBJECT(obj,...) GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT,
GST_LEVEL_DEBUG, obj, __VA_ARGS__)
^
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:541:31:
note: expanded from macro 'GST_CAT_LEVEL_LOG'
(GObject *) (object), __VA_ARGS__); \
^
gstoggdemux.c:1262:15: error: format specifies type 'long' but the argument has
type 'ogg_int64_t' (aka 'long long') [-Werror,-Wformat]
granule);
^~~~~~~
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:860:95:
note: expanded from macro 'GST_INFO_OBJECT'
#define GST_INFO_OBJECT(obj,...) GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT,
GST_LEVEL_INFO, obj, __VA_ARGS__)
^
/Users/chul/work/github/jhbuild-gstreamer/install/include/gstreamer-1.0/gst/gstinfo.h:541:31:
note: expanded from macro 'GST_CAT_LEVEL_LOG'
(GObject *) (object), __VA_ARGS__); \
^ \
--
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