--- ray/src/px/biq.c 2003/02/22 02:07:27 2.2 +++ ray/src/px/biq.c 2003/06/30 14:59:12 2.4 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: biq.c,v 2.2 2003/02/22 02:07:27 greg Exp $"; +static const char RCSid[] = "$Id: biq.c,v 2.4 2003/06/30 14:59:12 schorsch Exp $"; #endif /* * biq.c - simple greyscale quantization. @@ -7,6 +7,8 @@ static const char RCSid[] = "$Id: biq.c,v 2.2 2003/02/ * 9/19/88 */ +#include + #include "standard.h" #include "ciq.h" @@ -29,7 +31,7 @@ colormap cm; /* quantization colormap */ draw_grey(ocm); - bcopy((char *)color,(char *)cm,sizeof color); + memcpy((void *)cm,(void *)color,sizeof color); } /*----------------------------------------------------------------------*/