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

Comparing ray/src/rt/fprism.c (file contents):
Revision 2.4 by greg, Sat Feb 22 02:07:28 2003 UTC vs.
Revision 2.6 by greg, Mon Aug 4 22:37:53 2003 UTC

# Line 400 | Line 400 | if(r.e > seuil)
400   if (egalite == 0)
401    {
402     if (nbrayons == 0) ray = (TRAYON *)calloc(1,sizeof(TRAYON));
403 <   else ray = (TRAYON *)realloc(ray, (nbrayons+1)*(sizeof(TRAYON)));        
403 >   else ray = (TRAYON *)realloc((void *)ray, (nbrayons+1)*(sizeof(TRAYON)));        
404     if (ray == NULL)
405       error(SYSTEM, "out of memory in sortie\n");
406     raytemp = &ray[nbrayons];
# Line 728 | Line 728 | if ( X(r_initial) != 0.)
728  
729  
730   static double
731 < l_get_val()
731 > l_get_val(char *nm)
732  
733   {
734   int val, dir, i, trouve, curseur;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines