mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
bin: Don't left-shift into the sign bit, the result is undefined
This commit is contained in:
parent
3cbcfa1d7e
commit
ce8752c5ce
1 changed files with 2 additions and 2 deletions
|
@ -888,8 +888,8 @@ find_message (GstBin * bin, GstObject * src, GstMessageType types)
|
|||
guint i;
|
||||
|
||||
for (i = 0; i < 32; i++)
|
||||
if (types & (1 << i))
|
||||
GST_DEBUG_OBJECT (bin, " %s", gst_message_type_get_name (1 << i));
|
||||
if (types & (1U << i))
|
||||
GST_DEBUG_OBJECT (bin, " %s", gst_message_type_get_name (1U << i));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue