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 1.2 by greg, Mon Jul 22 11:23:00 1991 UTC vs.
Revision 1.3 by greg, Wed Oct 23 13:43:19 1991 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10  
11   #include <stdio.h>
12  
13 + #include "fvect.h"
14 +
15   #include "object.h"
16  
17  
# Line 69 | Line 71 | FILE  *fp;
71          if (!getint() || (n = atoi(sbuf)) < 0)
72                  return(0);
73          if (fa->nfargs = n) {
74 <                fa->farg = (double *)bmalloc(n*sizeof(double));
74 >                fa->farg = (FLOAT *)bmalloc(n*sizeof(FLOAT));
75                  if (fa->farg == NULL)
76                          return(-1);
77                  for (i = 0; i < n; i++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines