summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-08-10 11:39:23 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-08-15 21:15:22 +0100
commitc56881a02672f1e1d48479abbf6fb2165c46b1b4 (patch)
treed625719b368d98fe6596c9a29d96915b4382b499
parent2271b6dc9a339a70b94090663258545f28d7b7e6 (diff)
buffer: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC. https://bugzilla.gnome.org/show_bug.cgi?id=656265
-rw-r--r--gst/gstbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h
index ad48315c6..070c7d840 100644
--- a/gst/gstbuffer.h
+++ b/gst/gstbuffer.h
@@ -412,7 +412,7 @@ typedef enum {
*
* Since: 0.10.13
*/
-#define GST_BUFFER_COPY_ALL (GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS | GST_BUFFER_COPY_CAPS)
+#define GST_BUFFER_COPY_ALL ((GstBufferCopyFlags) (GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS | GST_BUFFER_COPY_CAPS))
/* copies metadata into newly allocated buffer */
void gst_buffer_copy_metadata (GstBuffer *dest, const GstBuffer *src,