From ec4c76f297e03f78731278c4bd8e3c56364f8e82 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 21 Jun 2016 08:00:30 -0500 Subject: [PATCH] gstmessage.h: Avoid gcc bit shift overflow compiler warning Avoids bit shift overflow warning with gcc6. https://bugzilla.gnome.org/show_bug.cgi?id=767882 (glib) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71803 (gcc) https://bugzilla.gnome.org/show_bug.cgi?id=767883 --- gst/gstmessage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstmessage.h b/gst/gstmessage.h index 68213ebd1f..7ad471daf1 100644 --- a/gst/gstmessage.h +++ b/gst/gstmessage.h @@ -162,7 +162,7 @@ typedef enum GST_MESSAGE_STREAM_START = (1 << 28), GST_MESSAGE_NEED_CONTEXT = (1 << 29), GST_MESSAGE_HAVE_CONTEXT = (1 << 30), - GST_MESSAGE_EXTENDED = (1 << 31), + GST_MESSAGE_EXTENDED = (gint) (1u << 31), GST_MESSAGE_DEVICE_ADDED = GST_MESSAGE_EXTENDED + 1, GST_MESSAGE_DEVICE_REMOVED = GST_MESSAGE_EXTENDED + 2, GST_MESSAGE_PROPERTY_NOTIFY = GST_MESSAGE_EXTENDED + 3,