--- ray/src/hd/rhd_ctab.c 2003/02/22 02:07:24 3.2 +++ ray/src/hd/rhd_ctab.c 2003/05/13 17:58:33 3.3 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rhd_ctab.c,v 3.2 2003/02/22 02:07:24 greg Exp $"; +static const char RCSid[] = "$Id: rhd_ctab.c,v 3.3 2003/05/13 17:58:33 greg Exp $"; #endif /* * Allocate and control dynamic color table. @@ -76,7 +76,7 @@ int ncolors; /* partition color space */ cut(ctree, 0, CLRCUBE, 0, ncolors); /* clear histogram */ - bzero((char *)histo, sizeof(histo)); + bzero((void *)histo, sizeof(histo)); /* return number of colors used */ return(ncolors); } @@ -152,7 +152,7 @@ int c0, c1; } /* split box */ *tree = split(box); - bcopy((char *)box, (char *)kb, sizeof(kb)); + bcopy((void *)box, (void *)kb, sizeof(kb)); /* do left (lesser) branch */ kb[prim(*tree)][1] = part(*tree); cut(tree+(1<>1);