[Bug 645595] New: [bytereader/writer] missing casts

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 23 13:04:05 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645595
  GStreamer | gstreamer (core) | git

           Summary: [bytereader/writer] missing casts
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: phil at base-art.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


g++ complains when compiling a file including:

#include <gst/base/gstbytewriter.h>
#include <gst/base/gstbytereader.h>


.../include/gstreamer-0.10/gst/base/gstbytereader.h: In function ‘guint8*
gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)’:
.../include/gstreamer-0.10/gst/base/gstbytereader.h:249:75: error: invalid
conversion from ‘void*’ to ‘guint8*’

.../include/gstreamer-0.10/gst/base/gstbytewriter.h: In function ‘gboolean
_gst_byte_writer_ensure_free_space_inline(GstByteWriter*, guint)’:
.../include/gstreamer-0.10/gst/base/gstbytewriter.h:196:75: error: invalid
conversion from ‘void*’ to ‘guint8*’

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