mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 05:46:36 +00:00
gst/gstinfo.c: g_hash_table_insert() needs a cast to a non-const pointer duh.
Original commit message from CVS: * gst/gstinfo.c: g_hash_table_insert() needs a cast to a non-const pointer duh.
This commit is contained in:
parent
504274019d
commit
bc18910072
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstinfo.c:
|
||||
g_hash_table_insert() needs a cast to a non-const pointer duh.
|
||||
|
||||
2006-10-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstinfo.c:
|
||||
|
|
|
@ -1258,7 +1258,7 @@ _gst_debug_register_funcptr (GstDebugFuncPtr func, const gchar * ptrname)
|
|||
if (!__gst_function_pointers)
|
||||
__gst_function_pointers = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||
if (!g_hash_table_lookup (__gst_function_pointers, ptr))
|
||||
g_hash_table_insert (__gst_function_pointers, ptr, ptrname);
|
||||
g_hash_table_insert (__gst_function_pointers, ptr, (gpointer) ptrname);
|
||||
|
||||
g_static_mutex_unlock (&__dbg_functions_mutex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue