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.9 by greg, Wed Mar 12 04:59:04 2003 UTC vs.
Revision 2.10 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 211 | Line 211 | int  pointsize;
211                  size--;
212          }
213          if (size == (m+n+1)*pointsize) {        /* no border after all */
214 <                dp = (FLOAT *)realloc((char *)datarec.data,
214 >                dp = (FLOAT *)realloc((void *)datarec.data,
215                                  m*n*pointsize*sizeof(FLOAT));
216                  if (dp != NULL)
217                          datarec.data = dp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines