ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/biq.c
(Generate patch)

Comparing ray/src/px/biq.c (file contents):
Revision 1.3 by greg, Mon Jul 24 10:49:58 1989 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:27 2003 UTC

# Line 1 | Line 1
1 /* Copyright 1988 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  biq.c - simple greyscale quantization.
6   *
7   *      9/19/88
8   */
9  
10 + #include "standard.h"
11   #include "ciq.h"
12  
13  
# Line 31 | Line 29 | colormap cm;           /* quantization colormap */
29  
30      draw_grey(ocm);
31  
32 <    bcopy(color,cm,sizeof color);
32 >    bcopy((char *)color,(char *)cm,sizeof color);
33   }
34  
35   /*----------------------------------------------------------------------*/
# Line 60 | Line 58 | colormap ocm;
58          }
59          picwriteline(y, linout);
60      }
61 <    free((char *)linin);
62 <    free((char *)linout);
61 >    free((void *)linin);
62 >    free((void *)linout);
63   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines