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

Comparing ray/src/common/sceneio.c (file contents):
Revision 2.3 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 2.4 by schorsch, Thu Jun 26 00:58:09 2003 UTC

# Line 64 | Line 64 | int    objsiz;
64                  objp->oargs.iarg = NULL;
65   #endif
66          if ((objp->oargs.nfargs = getint(2, fp)) > 0) {
67 <                objp->oargs.farg = (FLOAT *)malloc
68 <                                (objp->oargs.nfargs*sizeof(FLOAT));
67 >                objp->oargs.farg = (RREAL *)malloc
68 >                                (objp->oargs.nfargs*sizeof(RREAL));
69                  if (objp->oargs.farg == NULL)
70                          goto memerr;
71                  for (i = 0; i < objp->oargs.nfargs; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines