# | 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 | ; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |