ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/clrtab.c
(Generate patch)

Comparing ray/src/px/clrtab.c (file contents):
Revision 2.12 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.13 by greg, Wed Apr 23 00:52:34 2003 UTC

# Line 337 | Line 337 | int    j;
337                  if (nl[i][t] == i) {            /* add to list */
338                          nl[i][t++] = j;
339                          if (t % NBSIZ == 0) {   /* enlarge list */
340 <                                if ((nnl = realloc(nl[i], t+NBSIZ)) == NULL)
340 >                                if ((nnl = realloc((void *)nl[i],
341 >                                                t+NBSIZ)) == NULL)
342                                          t--;
343                                  else
344                                          nl[i] = (BYTE *)nnl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines