src/libm/s_floor.c
changeset 2760 02aa80d7905f
parent 2758 045d9976f285
child 2765 f55c87ae336b
     1.1 --- a/src/libm/s_floor.c	Mon Sep 15 06:49:23 2008 +0000
     1.2 +++ b/src/libm/s_floor.c	Mon Sep 15 07:34:36 2008 +0000
     1.3 @@ -81,7 +81,7 @@
     1.4                      i0 += 1;
     1.5                  else {
     1.6                      j = i1 + (1 << (52 - j0));
     1.7 -                    if (j < i1)
     1.8 +                    if (j < (u_int32_t)i1)
     1.9                          i0 += 1;        /* got a carry */
    1.10                      i1 = j;
    1.11                  }