src/libm/s_floor.c
changeset 11685 1788f503254d
parent 11683 48bcba563d9c
child 12420 4a6c91d9cc33
     1.1 --- a/src/libm/s_floor.c	Sat Nov 04 17:35:03 2017 -0700
     1.2 +++ b/src/libm/s_floor.c	Sat Nov 04 17:39:28 2017 -0700
     1.3 @@ -58,7 +58,7 @@
     1.4  		    if(j0==20) i0+=1;
     1.5  		    else {
     1.6  			j = i1+(1<<(52-j0));
     1.7 -			if(j<i1) i0 +=1 ; 	/* got a carry */
     1.8 +			if(j<(u_int32_t)i1) i0 +=1 ; 	/* got a carry */
     1.9  			i1=j;
    1.10  		    }
    1.11  		}