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
This commit is contained in:
Andrew Eikum 2016-06-21 08:00:30 -05:00 committed by Tim-Philipp Müller
parent f7391936ce
commit ec4c76f297

View file

@ -162,7 +162,7 @@ typedef enum
GST_MESSAGE_STREAM_START = (1 << 28), GST_MESSAGE_STREAM_START = (1 << 28),
GST_MESSAGE_NEED_CONTEXT = (1 << 29), GST_MESSAGE_NEED_CONTEXT = (1 << 29),
GST_MESSAGE_HAVE_CONTEXT = (1 << 30), 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_ADDED = GST_MESSAGE_EXTENDED + 1,
GST_MESSAGE_DEVICE_REMOVED = GST_MESSAGE_EXTENDED + 2, GST_MESSAGE_DEVICE_REMOVED = GST_MESSAGE_EXTENDED + 2,
GST_MESSAGE_PROPERTY_NOTIFY = GST_MESSAGE_EXTENDED + 3, GST_MESSAGE_PROPERTY_NOTIFY = GST_MESSAGE_EXTENDED + 3,