mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
video: Fix 'comparison of unsigned enum expression < 0 is always false' compiler warning
This commit is contained in:
parent
05a778b1c4
commit
32c617c867
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ static const gchar *interlace_mode[] = {
|
||||||
static const gchar *
|
static const gchar *
|
||||||
gst_interlace_mode_to_string (GstVideoInterlaceMode mode)
|
gst_interlace_mode_to_string (GstVideoInterlaceMode mode)
|
||||||
{
|
{
|
||||||
if (mode < 0 || mode >= G_N_ELEMENTS (interlace_mode))
|
if (((guint) mode) >= G_N_ELEMENTS (interlace_mode))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return interlace_mode[mode];
|
return interlace_mode[mode];
|
||||||
|
|
Loading…
Reference in a new issue