evas - filter - don't use longs when DATA32 is the right type

fixes CID 1174078
This commit is contained in:
Carsten Haitzler 2014-02-13 18:59:16 +09:00
parent a725924b53
commit b837cdb055
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ _bool_parse(const char *str, Eina_Bool *b)
static Eina_Bool
_color_parse(const char *word, DATA32 *color)
{
unsigned long value;
DATA32 value;
Eina_Bool success = EINA_FALSE;
PARSE_CHECK(word && *word);
@ -694,7 +694,7 @@ _color_parse(const char *word, DATA32 *color)
if ((value & 0xFF000000) == 0 && (value != 0))
value |= 0xFF000000;
if (color) *color = (DATA32) value;
if (color) *color = value;
success = EINA_TRUE;
end: