mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
registrychunks: explicitly cast to the enum types
Fixes warning #188: enumerated type mixed with another type reported by ICC.
This commit is contained in:
parent
ec157ebed9
commit
9f8fe424c7
1 changed files with 2 additions and 2 deletions
|
@ -518,7 +518,7 @@ gst_registry_chunks_load_pad_template (GstElementFactory * factory, gchar ** in,
|
|||
|
||||
template = g_slice_new (GstStaticPadTemplate);
|
||||
template->presence = pt->presence;
|
||||
template->direction = pt->direction;
|
||||
template->direction = (GstPadDirection) pt->direction;
|
||||
template->static_caps.caps.refcount = 0;
|
||||
|
||||
/* unpack pad template strings */
|
||||
|
@ -758,7 +758,7 @@ gst_registry_chunks_load_plugin_dep (GstPlugin * plugin, gchar ** in,
|
|||
dep->env_hash = d->env_hash;
|
||||
dep->stat_hash = d->stat_hash;
|
||||
|
||||
dep->flags = d->flags;
|
||||
dep->flags = (GstPluginDependencyFlags) d->flags;
|
||||
|
||||
dep->names = gst_registry_chunks_load_plugin_dep_strv (in, end, d->n_names);
|
||||
dep->paths = gst_registry_chunks_load_plugin_dep_strv (in, end, d->n_paths);
|
||||
|
|
Loading…
Reference in a new issue