summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2016-06-21 08:00:30 -0500
committerTim-Philipp Müller <tim@centricular.com>2016-10-24 11:49:37 +0100
commitec4c76f297e03f78731278c4bd8e3c56364f8e82 (patch)
treef4de1a0912eed454fee5447cc3bbe3be6b0c5d04
parentf7391936ce68efdbe7e14cfde85122e358002e84 (diff)
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
-rw-r--r--gst/gstmessage.h2
1 files changed, 1 insertions, 1 deletions
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,