diff src/imgproc.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 3ecd8885ac67
children a8d8f419b459
line wrap: on
line diff
--- a/src/imgproc.c	Wed Aug 08 12:15:04 2001 +0000
+++ b/src/imgproc.c	Mon Aug 13 04:46:48 2001 +0000
@@ -45,12 +45,12 @@
 #include "imgproc.h"
 
 static void
-get_histogram(quant_table *qt, unsigned char *pic,
+get_histogram(quant_table *qt, UChar_Binary *pic,
 	      int width, int height, Colorbox* box)
 {
-  register unsigned char *inptr;
+  register UChar_Binary *inptr;
   register int red, green, blue;
-  register unsigned int j, i;
+  register int j, i;
 
   box->rmin = box->gmin = box->bmin = 999;
   box->rmax = box->gmax = box->bmax = -1;
@@ -472,7 +472,7 @@
 }
 
 quant_table *
-build_EImage_quantable(unsigned char *eimage, int width, int height, int num_colors)
+build_EImage_quantable(UChar_Binary *eimage, int width, int height, int num_colors)
 {
   quant_table *qt;
   Colorbox *box_list, *ptr;