diff src/libm/s_floor.c @ 2760:02aa80d7905f

Updated Visual C++ build
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Sep 2008 07:34:36 +0000
parents 045d9976f285
children f55c87ae336b
line wrap: on
line diff
--- a/src/libm/s_floor.c	Mon Sep 15 06:49:23 2008 +0000
+++ b/src/libm/s_floor.c	Mon Sep 15 07:34:36 2008 +0000
@@ -81,7 +81,7 @@
                     i0 += 1;
                 else {
                     j = i1 + (1 << (52 - j0));
-                    if (j < i1)
+                    if (j < (u_int32_t)i1)
                         i0 += 1;        /* got a carry */
                     i1 = j;
                 }