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

Comparing ray/src/common/loadvars.c (file contents):
Revision 2.10 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.12 by schorsch, Sat Jun 7 12:50:20 2003 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include <stdio.h>
11   #include <stdlib.h>
12   #include <ctype.h>
13 +
14 + #include "standard.h"
15   #include "vars.h"
16  
17   #define NOCHAR  127             /* constant for character to delete */
# Line 94 | Line 96 | VARIABLE       *(*mv)();
96                          while (*cp++)
97                                  ;
98                  i = cp - vp->value;
99 <                vp->value = (char *)realloc(vp->value, i+n+1);
99 >                vp->value = (char *)realloc((void *)vp->value, i+n+1);
100          } else
101                  vp->value = (char *)malloc(n+1);
102          if (vp->value == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines