deepstone

diff src/palman.c @ 35:1870c4ef8b76

added visual studio project moved the dosemu directory
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Sep 2013 07:41:05 +0300
parents 569d62294ae3
children
line diff
     1.1 --- a/src/palman.c	Mon Sep 23 05:58:24 2013 +0300
     1.2 +++ b/src/palman.c	Mon Sep 23 07:41:05 2013 +0300
     1.3 @@ -48,7 +48,7 @@
     1.4  {
     1.5  	int i;
     1.6  
     1.7 -	for(i=0; i<ncol; i++) {
     1.8 +	for(i=0; i<(int)ncol; i++) {
     1.9  		if(colors[i].r == r && colors[i].g == g && colors[i].b == b) {
    1.10  			return i;
    1.11  		}
    1.12 @@ -74,7 +74,7 @@
    1.13  	}
    1.14  	pcol = 0;
    1.15  
    1.16 -	for(i=0; i<ncol; i++) {
    1.17 +	for(i=0; i<(int)ncol; i++) {
    1.18  		unsigned short r, g, b, dr, dg, db;
    1.19  
    1.20  		base_index[i] = pcol;