summaryrefslogtreecommitdiff
path: root/gst/gstpad.h
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-08-16 23:00:47 +0200
committerJosep Torra <n770galaxy@gmail.com>2011-08-26 14:11:13 +0200
commit746813344dbb6808f6c6a7b98d9e777dc930e767 (patch)
tree3fe2b9e65829a0831c56b57b22962368efccf9dd /gst/gstpad.h
parentc27ce79ba1091814169b8dc6ec30fa631911fa70 (diff)
pad: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r--gst/gstpad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h
index 5317dee41..86152bf9f 100644
--- a/gst/gstpad.h
+++ b/gst/gstpad.h
@@ -228,7 +228,7 @@ typedef enum {
*
* Since: 0.10.30
*/
-#define GST_PAD_LINK_CHECK_DEFAULT (GST_PAD_LINK_CHECK_HIERARCHY | GST_PAD_LINK_CHECK_CAPS)
+#define GST_PAD_LINK_CHECK_DEFAULT ((GstPadLinkCheck) (GST_PAD_LINK_CHECK_HIERARCHY | GST_PAD_LINK_CHECK_CAPS))
/**
* GstActivateMode: