--- ray/src/px/pcond3.c 2003/02/22 02:07:27 3.11 +++ ray/src/px/pcond3.c 2003/05/13 17:58:33 3.13 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pcond3.c,v 3.11 2003/02/22 02:07:27 greg Exp $"; +static const char RCSid[] = "$Id: pcond3.c,v 3.13 2003/05/13 17:58:33 greg Exp $"; #endif /* * Routines for computing and applying brightness mapping. @@ -54,7 +54,7 @@ FILE *fp; if (nfixations % FIXHUNK == 0) { if (nfixations) fixlst = (short (*)[2]) - realloc((char *)fixlst, + realloc((void *)fixlst, (nfixations+FIXHUNK)* 2*sizeof(short)); else @@ -350,7 +350,7 @@ mkbrmap() /* make dynamic range map */ double ceiling, trimmings; register int i; /* copy initial histogram */ - bcopy((char *)bwhist, (char *)modhist, sizeof(modhist)); + bcopy((void *)bwhist, (void *)modhist, sizeof(modhist)); s = (bwmax - bwmin)/HISTRES; /* s is delta b */ /* loop until satisfactory */ do {