Revision 3f4cb3d3 fpu/softfloat-macros.h

b/fpu/softfloat-macros.h
590 590

  
591 591
    index = ( a>>27 ) & 15;
592 592
    if ( aExp & 1 ) {
593
        z = 0x4000 + ( a>>17 ) - sqrtOddAdjustments[ index ];
593
        z = 0x4000 + ( a>>17 ) - sqrtOddAdjustments[ (int)index ];
594 594
        z = ( ( a / z )<<14 ) + ( z<<15 );
595 595
        a >>= 1;
596 596
    }
597 597
    else {
598
        z = 0x8000 + ( a>>17 ) - sqrtEvenAdjustments[ index ];
598
        z = 0x8000 + ( a>>17 ) - sqrtEvenAdjustments[ (int)index ];
599 599
        z = a / z + z;
600 600
        z = ( 0x20000 <= z ) ? 0xFFFF8000 : ( z<<15 );
601 601
        if ( z <= a ) return (bits32) ( ( (sbits32) a )>>1 );

Also available in: Unified diff