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

Comparing ray/src/meta/igraph.c (file contents):
Revision 1.3 by schorsch, Fri Nov 14 00:14:40 2003 UTC vs.
Revision 1.4 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15  
16   #include  "rtprocess.h"
17   #include  "rterror.h"
18 + #include  "meta.h"
19 + #include  "mgraph.h"
20   #include  "mgvars.h"
21  
22   typedef struct {
# Line 96 | Line 98 | char  *argv[];
98          mainmenu();
99  
100          quit(0);
101 +        return 0; /* pro forma return */
102   }
103  
104   extern void
# Line 173 | Line 176 | mainmenu(void)                 /* the main menu loop */
176                          else
177                                  break;
178                          if (sbuf[0] < MAXCUR)
179 <                                setvars(NCVARS, cparam[sbuf[0]]);
179 >                                setvars(NCVARS, cparam[(int)sbuf[0]]);
180                          break;
181                  case 7:                         /* output plot */
182                          plotout();
# Line 236 | Line 239 | plotout(void)                  /* output our graph */
239   {
240          extern FILE  *pout;
241          char  sbuf[128];
242 <        char  *command;
242 >        char  *command = NULL;
243          int  i;
244  
245          printf("\nOUTPUT PLOT\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines