bytereader, bytewriter: fix up inline functions to make g++ happy
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 12 Mar 2011 16:58:01 +0000 (16:58 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 23 Mar 2011 20:52:44 +0000 (20:52 +0000)
commit5300a5e73b1c20958e3a348003e750d5be50930c
treeed8c71e2d83183a18422324ad98a804b4ef8e59b
parent2f0dab0f44dcb5260285b980feac569a10acfd33
bytereader, bytewriter: fix up inline functions to make g++ happy

gstbytereader.h: In function ‘guint8* gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)’:
gstbytereader.h:249:75: error: invalid conversion from ‘void*’ to ‘guint8*’
gstbytewriter.h: In function ‘gboolean _gst_byte_writer_ensure_free_space_inline(GstByteWriter*, guint)’:
gstbytewriter.h:196:75: error: invalid conversion from ‘void*’ to ‘guint8*’

https://bugzilla.gnome.org/show_bug.cgi?id=645595
libs/gst/base/gstbytereader.h
libs/gst/base/gstbytewriter.h