Commit 6ccb806b authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

build: Fix some msvc build warnings

warning C4133: 'function': incompatible types - from 'GESTrackType *' to 'guint *'
parent 1cc5221d
Pipeline #117231 passed with stages
in 33 minutes and 44 seconds
......@@ -449,7 +449,7 @@ _ges_add_clip_from_struct (GESTimeline * timeline, GstStructure * structure,
if (track_types_str) {
if (!get_flags_from_string (GES_TYPE_TRACK_TYPE, track_types_str,
&track_types)) {
(guint *) & track_types)) {
*error =
g_error_new (GES_ERROR, 0, "Invalid track types: %s",
track_types_str);
......
......@@ -60,7 +60,8 @@ static gboolean
_parse_track_type (const gchar * option_name, const gchar * value,
GESLauncherParsedOptions * opts, GError ** error)
{
if (!get_flags_from_string (GES_TYPE_TRACK_TYPE, value, &opts->track_types))
if (!get_flags_from_string (GES_TYPE_TRACK_TYPE,
value, (guint *) & opts->track_types))
return FALSE;
return TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment