diff options
author | Josep Torra <n770galaxy@gmail.com> | 2011-08-25 21:52:05 +0200 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2011-08-26 14:11:14 +0200 |
commit | 97442ad1a3588ece9c21e925b4d831ed492de3a0 (patch) | |
tree | 9fb0adf808bf8e042ca72a68edd441227038ef15 | |
parent | 95b96b57a25a5e9745cee0fef543f2061c630579 (diff) |
task: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC.
-rw-r--r-- | gst/gsttask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttask.c b/gst/gsttask.c index dbfd3bf7a..e06e0d691 100644 --- a/gst/gsttask.c +++ b/gst/gsttask.c @@ -83,7 +83,7 @@ GST_DEBUG_CATEGORY_STATIC (task_debug); #define GST_CAT_DEFAULT (task_debug) #define SET_TASK_STATE(t,s) (g_atomic_int_set (&GST_TASK_STATE(t), (s))) -#define GET_TASK_STATE(t) (g_atomic_int_get (&GST_TASK_STATE(t))) +#define GET_TASK_STATE(t) ((GstTaskState) g_atomic_int_get (&GST_TASK_STATE(t))) #define GST_TASK_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GST_TYPE_TASK, GstTaskPrivate)) |