projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbcfa1
)
bin: Don't left-shift into the sign bit, the result is undefined
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 22 Apr 2014 16:23:15 +0000
(18:23 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 22 Apr 2014 16:23:15 +0000
(18:23 +0200)
gst/gstbin.c
patch
|
blob
|
history
diff --git
a/gst/gstbin.c
b/gst/gstbin.c
index
faf6e84
..
8fbac35
100644
(file)
--- a/
gst/gstbin.c
+++ b/
gst/gstbin.c
@@
-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 & (1
U
<< i))
+ GST_DEBUG_OBJECT (bin, " %s", gst_message_type_get_name (1
U
<< i));
}
#endif
}