mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
pbutils: Fix 'comparison of unsigned enum expression < 0 is always false' compiler warning
This commit is contained in:
parent
c8aea0cdc1
commit
aeb6a6ee71
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ gst_install_plugins_return_from_status (gint status)
|
||||||
ret = (GstInstallPluginsReturn) WEXITSTATUS (status);
|
ret = (GstInstallPluginsReturn) WEXITSTATUS (status);
|
||||||
|
|
||||||
/* did the helper return an invalid status code? */
|
/* did the helper return an invalid status code? */
|
||||||
if ((ret < 0 || ret >= GST_INSTALL_PLUGINS_STARTED_OK) &&
|
if (((guint) ret) >= GST_INSTALL_PLUGINS_STARTED_OK &&
|
||||||
ret != GST_INSTALL_PLUGINS_INTERNAL_FAILURE) {
|
ret != GST_INSTALL_PLUGINS_INTERNAL_FAILURE) {
|
||||||
ret = GST_INSTALL_PLUGINS_INVALID;
|
ret = GST_INSTALL_PLUGINS_INVALID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue