From 7b142178e4f26d23248928133e38e64649b9d317 Mon Sep 17 00:00:00 2001 From: Haakon Sporsheim Date: Mon, 4 Apr 2011 17:23:13 +0200 Subject: [PATCH] tag: Explicit cast to GThreadFunc to silence MS compiler. https://bugzilla.gnome.org/show_bug.cgi?id=646744 --- gst-libs/gst/tag/gstxmptag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index dce3e41..6c424ba 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -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; -- 2.7.4