--- ray/src/common/colrops.c 2003/02/25 02:47:21 2.7 +++ ray/src/common/colrops.c 2003/07/27 22:12:01 2.10 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: colrops.c,v 2.7 2003/02/25 02:47:21 greg Exp $"; +static const char RCSid[] = "$Id: colrops.c,v 2.10 2003/07/27 22:12:01 schorsch Exp $"; #endif /* * Integer operations on COLR scanlines @@ -7,11 +7,10 @@ static const char RCSid[] = "$Id: colrops.c,v 2.7 2003 #include "copyright.h" +#include #include #include "color.h" -#define NULL 0 - extern char *bmalloc(); #define MAXGSHIFT 31 /* maximum shift for gamma table */ @@ -136,7 +135,7 @@ int len; { register int nexpo; - if (g_mant == NULL | g_nexp == NULL) + if ((g_mant == NULL) | (g_nexp == NULL)) return(-1); while (len-- > 0) { nexpo = g_nexp[scan[0][RED]];