mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove a meaningless type cast.
This commit is contained in:
+1
-1
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user