diff src/video/e_pow.h @ 1345:7f32b9bede06

Fixes for Visual C++ 6.0
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 18:36:54 +0000
parents 450721ad5436
children 7a610f25c12f
line wrap: on
line diff
--- a/src/video/e_pow.h	Tue Feb 07 17:49:40 2006 +0000
+++ b/src/video/e_pow.h	Tue Feb 07 18:36:54 2006 +0000
@@ -130,7 +130,7 @@
 		k = (iy>>20)-0x3ff;	   /* exponent */
 		if(k>20) {
 		    j = ly>>(52-k);
-		    if((j<<(52-k))==ly) yisint = 2-(j&1);
+		    if((u_int32_t)(j<<(52-k))==ly) yisint = 2-(j&1);
 		} else if(ly==0) {
 		    j = iy>>(20-k);
 		    if((j<<(20-k))==iy) yisint = 2-(j&1);