[gstreamer-bugs] [Bug 613815] New: A call in gst/realmedia/rmutils.c discards qualifiers from pointer target type

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 24 08:22:46 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=613815
  GStreamer | gst-plugins-ugly | git

           Summary: A call in gst/realmedia/rmutils.c discards qualifiers
                    from pointer target type
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lrn1986 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


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);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list