remove unnecessary typecasting of realloc()

This commit is contained in:
Yang Tse 2008-09-06 04:28:43 +00:00
parent 70e57dad88
commit 861b647e7b
11 changed files with 14 additions and 14 deletions

View file

@ -1079,7 +1079,7 @@ static int alloc_addbyter(int output, FILE *data)
else if(infop->len+1 >= infop->alloc) {
char *newptr;
newptr = (char *)realloc(infop->buffer, infop->alloc*2);
newptr = realloc(infop->buffer, infop->alloc*2);
if(!newptr) {
infop->fail = 1;