Commit 2a6ba0b2 authored by Josep Torra's avatar Josep Torra

info: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.
parent e5d00246
......@@ -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);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment