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.5 by greg, Wed Apr 23 00:52:34 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];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines