summaryrefslogtreecommitdiffstats
path: root/graphics/urt/files/patch-tools::mcut.c
blob: 3f33abf8b6f0595446cdc265577ceef1dc56fedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tools/mcut.c.orig	Thu Mar 10 20:54:44 2005
+++ tools/mcut.c	Thu Mar 10 20:56:44 2005
@@ -791,7 +791,7 @@
 		    TRACE( tmp_cb, cb_list )
 		    {
 			register color_t *newcol = &tmp_cb->color;
-			register newdist = DISTANCE( ref_col, *newcol );
+			register int newdist = DISTANCE( ref_col, *newcol );
 
 			if ( newdist < dist )
 			{
@@ -963,7 +963,7 @@
 cmp_radices ( h1, h2 )
 histogram_t **h1, **h2;
 {
-    register c1 = -1, c2 = -1;
+    register int c1 = -1, c2 = -1;
 
     if ( *h1 )
 	c1 = (*h1)->color & mask;
OpenPOWER on IntegriCloud