# | Line 54 | Line 54 | newsource() /* allocate new source in our array */ | |
---|---|---|
54 | if (nsources == 0) | |
55 | source = (SRCREC *)malloc(SRCINC*sizeof(SRCREC)); | |
56 | else if (nsources%SRCINC == 0) | |
57 | < | source = (SRCREC *)realloc((char *)source, |
57 | > | source = (SRCREC *)realloc((void *)source, |
58 | (unsigned)(nsources+SRCINC)*sizeof(SRCREC)); | |
59 | if (source == NULL) | |
60 | return(-1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |