src/video/e_sqrt.h
changeset 1345 7f32b9bede06
parent 1330 450721ad5436
child 1424 7a610f25c12f
--- a/src/video/e_sqrt.h	Tue Feb 07 17:49:40 2006 +0000
+++ b/src/video/e_sqrt.h	Tue Feb 07 18:36:54 2006 +0000
@@ -202,7 +202,7 @@
 	    t  = s0;
 	    if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
 		s1  = t1+r;
-		if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
+		if(((int32_t)(t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
 		ix0 -= t;
 		if (ix1 < t1) ix0 -= 1;
 		ix1 -= t1;