Remove a meaningless type cast.

This commit is contained in:
Masaki Muranaka
2013-03-12 19:55:18 +09:00
parent 46d8c51763
commit e1d2f50e47
+1 -1
View File
@@ -3415,7 +3415,7 @@ scan_hex(const int *start, int len, int *retlen)
register unsigned long retval = 0;
char *tmp;
while (len-- && *s && (tmp = (char *)strchr(hexdigit, *s))) {
while (len-- && *s && (tmp = strchr(hexdigit, *s))) {
retval <<= 4;
retval |= (tmp - hexdigit) & 15;
s++;