[Bug 793732] New: Remove warning
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Feb 22 21:08:20 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793732
Bug ID: 793732
Summary: Remove warning
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: arnaud.bonatti at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 368798
--> https://bugzilla.gnome.org/attachment.cgi?id=368798&action=edit
Fix type on i386.
I’m trying to fix GNOME Flatpak SDK images, and while x86_64 now builds
correctly, i386 fails because of a missing cast in a macro[1].
rtpulpfeccommon.c: In function ‘rtp_ulpfec_log_fec_packet’:
rtpulpfeccommon.c:432:27: error: format ‘%lx’ expects argument of type ‘long
unsigned int’, but argument 10 has type ‘guint64 {aka long long unsigned int}’
[-Werror=format=]
GST_CAT_LEVEL_LOG (cat, level, object,
^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:1751: libgstrtp_la-rtpulpfeccommon.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libgstrtp_la-rtpstorage.Tpo .deps/libgstrtp_la-rtpstorage.Plo
mv -f .deps/libgstrtp_la-rtpstoragestream.Tpo
.deps/libgstrtp_la-rtpstoragestream.Plo
mv -f .deps/libgstrtp_la-gstrtpstorage.Tpo
.deps/libgstrtp_la-gstrtpstorage.Plo
gstrtpulpfecdec.c: In function ‘gst_rtp_ulpfec_dec_handle_sink_event’:
gstrtpulpfecdec.c:405:27: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 8 has type ‘gsize {aka unsigned int}’
[-Werror=format=]
GST_DEBUG_OBJECT (self, "Unrecovered / Recovered: %lu / %lu",
^
gstrtpulpfecdec.c:405:27: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 9 has type ‘gsize {aka unsigned int}’
[-Werror=format=]
cc1: all warnings being treated as errors
I’m highly bad at understanding C types, and I haven’t an i386 real/virtual
machine to test, so please excuse if my proposed patch is bad, it’s untested. I
just hope you’ll be able to find a fix. Thanks!
[1] warning, big!
http://sdkbuilder1.gnome.org/logs/build-2018-02-22-082206/build-gnome-sdk-images-master-i386.txt
--
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