From: Sebastian Dröge Date: Sun, 28 Mar 2010 19:02:41 +0000 (+0200) Subject: info: Fix build at least until the correct fix is found X-Git-Tag: RELEASE-0.10.29~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffb0a4e1905a873191f8c802346261e8c4435065;p=platform%2Fupstream%2Fgstreamer.git info: Fix build at least until the correct fix is found See bug #614167. --- diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 228d0ba..af2f4cf 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1510,9 +1510,10 @@ static GStaticMutex __dbg_functions_mutex = G_STATIC_MUTEX_INIT; /* This function MUST NOT return NULL */ const gchar * -_gst_debug_nameof_funcptr (GstDebugFuncPtr func) +_gst_debug_nameof_funcptr (gpointer ptr) { gchar *ptrname; + GstDebugFuncPtr func = (GstDebugFuncPtr) ptr; #ifdef HAVE_DLADDR Dl_info dl_info; @@ -1549,10 +1550,8 @@ _gst_debug_nameof_funcptr (GstDebugFuncPtr func) } void -_gst_debug_register_funcptr (GstDebugFuncPtr func, const gchar * ptrname) +_gst_debug_register_funcptr (gpointer ptr, const gchar * ptrname) { - gpointer ptr = (gpointer) func; - g_static_mutex_lock (&__dbg_functions_mutex); if (!__gst_function_pointers)