GNOME Bugzilla – Bug 613815
A call in gst/realmedia/rmutils.c discards qualifiers from pointer target type
Last modified: 2010-03-25 07:12:21 UTC
rmutils.c: In function 'gst_rm_utils_read_tags': rmutils.c:105: error: passing argument 5 of 'g_convert_with_fallback' discards qualifiers from pointer target type f:/gstreamer-buildslave/msys/1.0.11/local/include/glib-2.0/glib/gconvert.h:78: note: expected 'gchar *' but argument is of type 'const char *' rmutils.c:105 is: tmp = g_convert_with_fallback (str, -1, "UTF-8", encoding, "*", NULL, NULL, NULL); Suggestion: tmp = g_convert_with_fallback (str, -1, "UTF-8", encoding, (char *) "*", NULL, NULL, NULL);
Suggestion is correct ;) If you provide a git format-patch patch I'll push this change
Created attachment 156994 [details] [review] Casts (const char *) into (gchar *)
commit 49c5383c7198ddeab84a80f8c96217c826901d83 Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Wed Mar 24 19:07:11 2010 +0300 Fix pointer type. Fixes #613815