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

Comparing ray/src/px/xshowtrace.c (file contents):
Revision 2.6 by greg, Mon May 3 11:21:30 1993 UTC vs.
Revision 2.7 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1991 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  Display an image and watch the rays get traced.
6   *
# Line 12 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9  
10   #include "standard.h"
11   #include "view.h"
15 #include "resolu.h"
12   #include <X11/Xlib.h>
13  
14   #define MAXDEPTH        32              /* ridiculous ray tree depth */
# Line 144 | Line 140 | struct node    *tp;
140  
141          for (kid = tp->daughter; kid != NULL; kid = kid->sister)
142                  freetree(kid);
143 <        free((char *)tp);
143 >        free((void *)tp);
144   }
145  
146  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines