mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +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 *
|
||||
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 interlace_mode[mode];
|
||||
|
|
Loading…
Reference in a new issue