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

Comparing ray/src/cv/obj2rad.c (file contents):
Revision 2.16 by greg, Wed Jul 24 13:07:41 1996 UTC vs.
Revision 2.17 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1994 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   * Convert a Wavefront .obj file to Radiance format.
6   *
# Line 635 | Line 632 | char   *v1, *v2, *v3;
632   freeverts()                     /* free all vertices */
633   {
634          if (nvs) {
635 <                free((char *)vlist);
635 >                free((void *)vlist);
636                  nvs = 0;
637          }
638          if (nvts) {
639 <                free((char *)vtlist);
639 >                free((void *)vtlist);
640                  nvts = 0;
641          }
642          if (nvns) {
643 <                free((char *)vnlist);
643 >                free((void *)vnlist);
644                  nvns = 0;
645          }
646   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines