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

Comparing ray/src/common/color.c (file contents):
Revision 2.11 by greg, Mon Apr 7 15:43:08 2003 UTC vs.
Revision 2.12 by greg, Wed Apr 23 00:52:33 2003 UTC

# Line 31 | Line 31 | unsigned int  len;
31  
32          if (len > tempbuflen) {
33                  if (tempbuflen > 0)
34 <                        tempbuf = (char *)realloc(tempbuf, len);
34 >                        tempbuf = (char *)realloc((void *)tempbuf, len);
35                  else
36                          tempbuf = (char *)malloc(len);
37                  tempbuflen = tempbuf==NULL ? 0 : len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines