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

Comparing ray/src/common/readfargs.c (file contents):
Revision 2.8 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.9 by schorsch, Thu Jun 26 00:58:09 2003 UTC

# Line 58 | Line 58 | FILE  *fp;
58          if (!getint(sbuf) || (n = atoi(sbuf)) < 0)
59                  return(0);
60          if (fa->nfargs = n) {
61 <                fa->farg = (FLOAT *)malloc(n*sizeof(FLOAT));
61 >                fa->farg = (RREAL *)malloc(n*sizeof(RREAL));
62                  if (fa->farg == NULL)
63                          return(-1);
64                  for (i = 0; i < n; i++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines