Change-Id: I1df52f33f66ea2e434356c1a116f3367b70ec624
EINA_SAFETY_ON_NULL_RETURN_VAL(str, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(num, EINA_FALSE);
- const unsigned long int ul = strtol(str, &end, base);
+ const unsigned long int ul = strtoul(str, &end, base);
errsv = errno;
EINA_SAFETY_ON_TRUE_RETURN_VAL((end == str), EINA_FALSE); /* given string is not a decimal number */
EINA_SAFETY_ON_NULL_RETURN_VAL(str, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(num, EINA_FALSE);
- const unsigned long int ul = strtol(str, &end, base);
+ const unsigned long int ul = strtoul(str, &end, base);
errsv = errno;
EINA_SAFETY_ON_TRUE_RETURN_VAL((end == str), EINA_FALSE); /* given string is not a decimal number */