bitwriter: Fix inclusion of header in C++ code
authorSebastian Dröge <sebastian@centricular.com>
Tue, 23 Apr 2019 15:00:59 +0000 (18:00 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Tue, 23 Apr 2019 15:15:56 +0000 (15:15 +0000)
commitf57e79a073b70dea671c2f4b969e6088eb7052ce
tree5ef7cc8e4d36670f75e0b83d2068a1273cd065e5
parente823f02b5add87e78a9dadfd3677b77536bb3393
bitwriter: Fix inclusion of header in C++ code

../subprojects/gstreamer/libs/gst/base/gstbitwriter.h: In function 'gboolean _gst_bit_writer_check_remaining(GstBitWriter*, guint32)':
../subprojects/gstreamer/libs/gst/base/gstbitwriter.h:161:31: error: invalid conversion from 'gpointer' {aka 'void*'} to 'guint8*' {aka 'unsigned char*'} [-fpermissive]
   bitwriter->data = g_realloc (bitwriter->data, (new_bit_size >> 3));
                     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libs/gst/base/gstbitwriter.h