info: explicitly cast to the enum type
authorJosep Torra <n770galaxy@gmail.com>
Tue, 16 Aug 2011 20:41:32 +0000 (22:41 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Fri, 26 Aug 2011 12:11:13 +0000 (14:11 +0200)
Fixes warning #188: enumerated type mixed with another type reported by ICC.

gst/gstinfo.c

index 5062239..83ab86b 100644 (file)
@@ -1480,7 +1480,7 @@ gst_debug_category_reset_threshold (GstDebugCategory * category)
 GstDebugLevel
 gst_debug_category_get_threshold (GstDebugCategory * category)
 {
-  return g_atomic_int_get (&category->threshold);
+  return (GstDebugLevel) g_atomic_int_get (&category->threshold);
 }
 
 /**