mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
all: Fix left-shift undefined behaviour
Cast to the target type before shifting (or use macro if available)
This commit is contained in:
parent
d7f43bb06b
commit
5915f45e27
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ gst_gl_context_get_current_gl_api (GstGLPlatform platform, guint * major,
|
|||
#endif
|
||||
const gchar *version;
|
||||
gint maj, min, n;
|
||||
GstGLAPI ret = (1 << 31);
|
||||
GstGLAPI ret = (1U << 31);
|
||||
|
||||
_init_debug ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue