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

Comparing ray/src/gen/gensurf.c (file contents):
Revision 2.19 by greg, Wed Dec 8 21:37:51 2010 UTC vs.
Revision 2.20 by greg, Mon Aug 15 19:48:06 2011 UTC

# Line 229 | Line 229 | loaddata(              /* load point data from file */
229                  size--;
230          }
231          if (size == (m+n+1)*pointsize) {        /* no border after all */
232 <                dp = (RREAL *)realloc((void *)datarec.data,
232 >                dp = (RREAL *)realloc(datarec.data,
233                                  m*n*pointsize*sizeof(RREAL));
234                  if (dp != NULL)
235                          datarec.data = dp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines