Retrieve a tag specified by name or code as an integer.
-On success sets the i_color *I<value> to the color and returns true.
+On success sets the int *I<value> to the integer and returns true.
On failure returns false.
errno = 0;
result = strtol(data, &myend, 10);
- if ((result == LONG_MIN || result == LONG_MAX) && errno == ERANGE
+ if (((result == LONG_MIN || result == LONG_MAX) && errno == ERANGE)
|| myend == data) {
errno = savederr;
return 0;