Fix casts in a bunch of inline functions to maintain correct const-ness
authorJeffrey S. Smith <whydoubt@yahoo.com>
Wed, 1 Sep 2010 23:01:25 +0000 (00:01 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 1 Sep 2010 23:09:08 +0000 (00:09 +0100)
commit4375e998eed1571638e66a9eaff2110c2306a2b9
tree5174d98dbbcad932f2003b0fa7429f643a95e3bf
parentf9204d5d70d126557cce0175e8ce9ce382d7fbc5
Fix casts in a bunch of inline functions to maintain correct const-ness

Make code including GStreamer headers compile with -Wcast-qual by
maintaining const-ness when casting. Also fix function signature of
gst_byte_writer_set_pos(): the byte writer should not be marked as
const.

https://bugzilla.gnome.org/show_bug.cgi?id=627910
docs/gst/gstreamer-sections.txt
gst/gstbuffer.h
gst/gstbufferlist.h
gst/gstevent.h
gst/gstmessage.h
gst/gstminiobject.h
gst/gstquery.h
gst/gstutils.h
libs/gst/base/gstbytewriter.h