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

Comparing ray/src/common/ealloc.c (file contents):
Revision 2.3 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.4 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 58 | Line 58 | unsigned int  n;
58   {
59          if (n == 0) {
60                  if (cp != NULL)
61 <                        free(cp);
61 >                        free((void *)cp);
62                  return(NULL);
63          }
64  
# Line 79 | Line 79 | void
79   efree(cp)                       /* free memory allocated by above */
80   char  *cp;
81   {
82 <        free((char *)cp);
82 >        free((void *)cp);
83   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines