Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -246,7 +246,7 @@ pr_hilite(s_char *buf)
|
|||
register s_char c;
|
||||
s_char *p;
|
||||
|
||||
p = (s_char *)malloc(strlen(buf) + 1);
|
||||
p = malloc(strlen(buf) + 1);
|
||||
strcpy(p, buf);
|
||||
for (bp = p; 0 != (c = *bp); bp++)
|
||||
if (isprint(c))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue