summaryrefslogtreecommitdiff
path: root/gst/gstinfo.h
diff options
context:
space:
mode:
authorBrent Bradburn <bbradburn@users.sourceforge.net>2001-02-25 03:42:51 +0000
committerBrent Bradburn <bbradburn@users.sourceforge.net>2001-02-25 03:42:51 +0000
commitc1044a081beb41f355229fd21dd2c340c5c529ea (patch)
tree9565eb80bdccfdbe90dcaa30f7f9a41d996650cd /gst/gstinfo.h
parent409d3fbdec20bb320fc0ba012e12f7f84dc2b131 (diff)
Patched .h files for C++ support.
Original commit message from CVS: Patched .h files for C++ support.
Diffstat (limited to 'gst/gstinfo.h')
-rw-r--r--gst/gstinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstinfo.h b/gst/gstinfo.h
index cb11ca1ea..507b36b21 100644
--- a/gst/gstinfo.h
+++ b/gst/gstinfo.h
@@ -139,7 +139,7 @@ _gst_debug_register_funcptr (void *ptr, gchar *ptrname)
static inline gchar *
_gst_debug_nameof_funcptr (void *ptr)
{
- gchar *ptrname = __gst_function_pointers ? g_hash_table_lookup(__gst_function_pointers,ptr) : NULL;
+ gchar *ptrname = (gchar*)( __gst_function_pointers ? g_hash_table_lookup(__gst_function_pointers,ptr) : NULL );
// FIXME this must go away, it's a major leak
if (!ptrname) return g_strdup_printf("%p",ptr);
else return ptrname;