forked from enlightenment/efl
After the comments (back in april, sorry) I think this is the optimal fix that Dylan Shell was trying to get to, thanks Bryan Kadzban for the idea
Please correct me if this is not right SVN revision: 18718
This commit is contained in:
parent
3e30a7b8e5
commit
fdda70e1b3
|
@ -503,7 +503,7 @@ ecore_config_typed_val(Ecore_Config_Prop * e, const void *val, int type)
|
||||||
{
|
{
|
||||||
if (((char *)val)[0] == '#')
|
if (((char *)val)[0] == '#')
|
||||||
{
|
{
|
||||||
if ((v = strtol(&((char *)val)[1], &l, 16)) < 0)
|
if ((v = (long) strtoul(&((char *)val)[1], &l, 16)) < 0)
|
||||||
{
|
{
|
||||||
v = 0;
|
v = 0;
|
||||||
E(0,
|
E(0,
|
||||||
|
|
Loading…
Reference in New Issue