Commit 7b142178 authored by Haakon Sporsheim's avatar Haakon Sporsheim Committed by Tim-Philipp Müller

tag: Explicit cast to GThreadFunc to silence MS compiler.

https://bugzilla.gnome.org/show_bug.cgi?id=646744
parent e15bff77
......@@ -837,7 +837,7 @@ deserialize_tiff_orientation (XmpTag * xmptag, GstTagList * taglist,
* http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html
*/
static gpointer
_init_xmp_tag_map ()
_init_xmp_tag_map (gpointer user_data)
{
GPtrArray *array;
XmpTag *xmpinfo;
......@@ -984,7 +984,7 @@ static void
xmp_tags_initialize ()
{
static GOnce my_once = G_ONCE_INIT;
g_once (&my_once, _init_xmp_tag_map, NULL);
g_once (&my_once, (GThreadFunc)_init_xmp_tag_map, NULL);
}
typedef struct _GstXmpNamespaceMatch GstXmpNamespaceMatch;
......
Markdown is supported
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