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

Comparing ray/src/hd/sm.c (file contents):
Revision 3.16 by greg, Sat Feb 22 02:07:25 2003 UTC vs.
Revision 3.17 by greg, Wed Apr 23 00:52:34 2003 UTC

# Line 257 | Line 257 | int resize;
257   #endif
258          if (len > tempbuflen) {
259                  if (tempbuflen > 0)
260 <                        tempbuf = realloc(tempbuf, len);
260 >                        tempbuf = realloc((void *)tempbuf, len);
261                  else
262                          tempbuf = malloc(len);
263                  tempbuflen = tempbuf==NULL ? 0 : len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines