info: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.
This commit is contained in:
Josep Torra 2011-08-16 22:41:32 +02:00
parent e5d00246cf
commit 2a6ba0b29d

View 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);
}
/**