pbutils: Fix 'comparison of unsigned enum expression < 0 is always false' compiler warning

This commit is contained in:
Sebastian Dröge 2012-03-06 12:40:36 +01:00
parent c8aea0cdc1
commit aeb6a6ee71

View file

@ -569,7 +569,7 @@ gst_install_plugins_return_from_status (gint status)
ret = (GstInstallPluginsReturn) WEXITSTATUS (status);
/* 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_INVALID;
}