Commit cb1ecf0d authored by Ludovic Fauvet's avatar Ludovic Fauvet

media list: do a signed compare since i_pos can be less than 0

parent d6eec53b
......@@ -50,7 +50,7 @@ struct media_list
} while (0)
#define ML_CLIP_POS(i_pos) do { \
if (i_pos >= eina_array_count(p_ml->p_item_array)) \
if (i_pos >= (int)eina_array_count(p_ml->p_item_array)) \
i_pos = eina_array_count(p_ml->p_item_array) - 1; \
} while (0)
......
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