mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst/smpte/gstsmpte.c: Add cast to avoid compiler warnings with older GLib versions where the nick/name members in GEn...
Original commit message from CVS: * gst/smpte/gstsmpte.c: (gst_smpte_transition_type_get_type): Add cast to avoid compiler warnings with older GLib versions where the nick/name members in GEnumValue are not declared as constant strings.
This commit is contained in:
parent
881308d5c5
commit
7dd530e6c4
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/smpte/gstsmpte.c: (gst_smpte_transition_type_get_type):
|
||||
Add cast to avoid compiler warnings with older GLib versions
|
||||
where the nick/name members in GEnumValue are not declared as
|
||||
constant strings.
|
||||
|
||||
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/gconf/gconf.c: (gst_gconf_get_key_for_sink_profile),
|
||||
|
|
|
@ -146,8 +146,8 @@ gst_smpte_transition_type_get_type (void)
|
|||
definitions = g_list_next (definitions);
|
||||
|
||||
smpte_transitions[i].value = definition->type;
|
||||
smpte_transitions[i].value_nick = definition->short_name;
|
||||
smpte_transitions[i].value_name = definition->long_name;
|
||||
smpte_transitions[i].value_nick = (const gchar *) definition->short_name;
|
||||
smpte_transitions[i].value_name = (const gchar *) definition->long_name;
|
||||
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue