--- ray/src/px/pvalue.c 2003/06/08 12:03:10 2.19 +++ ray/src/px/pvalue.c 2003/06/26 00:58:10 2.21 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pvalue.c,v 2.19 2003/06/08 12:03:10 schorsch Exp $"; +static const char RCSid[] = "$Id: pvalue.c,v 2.21 2003/06/26 00:58:10 schorsch Exp $"; #endif /* * pvalue.c - program to print pixel values. @@ -14,8 +14,6 @@ static const char RCSid[] = "$Id: pvalue.c,v 2.19 2003 #include "color.h" #include "resolu.h" -typedef unsigned short uint16; /* sizeof (uint16) must == 2 */ - #define min(a,b) ((a)<(b)?(a):(b)) /* what to put out (also RED, GRN, BLU) */ @@ -391,7 +389,7 @@ pixtoval() /* convert picture to values */ register COLOR *scanln; int dogamma; COLOR lastc; - FLOAT hv[2]; + RREAL hv[2]; int startprim, endprim; long startpos; int y;