From 55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- fpu/softfloat.c | 2 +- fpu/softfloat.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fpu') diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 5e84620..75511c9 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -4911,7 +4911,7 @@ float128 float128_rem( float128 a, float128 b STATUS_PARAM ) sub128( aSig0, aSig1, bSig0, bSig1, &aSig0, &aSig1 ); } while ( 0 <= (sbits64) aSig0 ); add128( - aSig0, aSig1, alternateASig0, alternateASig1, &sigMean0, &sigMean1 ); + aSig0, aSig1, alternateASig0, alternateASig1, (bits64*)&sigMean0, &sigMean1 ); if ( ( sigMean0 < 0 ) || ( ( ( sigMean0 | sigMean1 ) == 0 ) && ( q & 1 ) ) ) { aSig0 = alternateASig0; diff --git a/fpu/softfloat.h b/fpu/softfloat.h index fdc80f3..44c29f1 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -46,8 +46,8 @@ these four paragraphs for those parts of this code that are retained. typedef char flag; typedef uint8_t uint8; typedef int8_t int8; -typedef int uint16; -typedef int int16; +typedef uint16_t uint16; +typedef int16_t int16; typedef unsigned int uint32; typedef signed int int32; typedef uint64_t uint64; -- cgit v1.1