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

Comparing ray/src/hd/rhd_ctab.c (file contents):
Revision 3.1 by gregl, Wed Nov 19 18:01:03 1997 UTC vs.
Revision 3.2 by greg, Sat Feb 22 02:07:24 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1997 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Allocate and control dynamic color table.
6   *
# Line 65 | Line 62 | int    ncolors;
62                  return(0);
63                                  /* free old tables */
64          if (clrtab != NULL)
65 <                free((char *)clrtab);
65 >                free((void *)clrtab);
66          if (ctree != NULL)
67 <                free((char *)ctree);
67 >                free((void *)ctree);
68                                  /* get new tables */
69          for (treesize = 1; treesize < ncolors; treesize <<= 1)
70                  ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines