From 3a767b69fdb767a7a154a4840dfcf06ce5c5c48b Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 9 Sep 2003 22:53:27 +0000 Subject: 2003-09-09 Jeff Johnston * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck prototype. * libc/machine/powerpc/simdldtoa.c: Remove prototype for _simdldcheck(). Also add unsigned cast for index variable in for loop using sizeof operators. * libc/machine/powerpc/strtoufix32.c: Remove unused variable. * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck. * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto plus fix shift calculation for determining if there is a carry from word2. --- newlib/libc/machine/powerpc/strtosfix64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/machine/powerpc/strtosfix64.c') diff --git a/newlib/libc/machine/powerpc/strtosfix64.c b/newlib/libc/machine/powerpc/strtosfix64.c index 09999c1a9..3006632a4 100644 --- a/newlib/libc/machine/powerpc/strtosfix64.c +++ b/newlib/libc/machine/powerpc/strtosfix64.c @@ -28,7 +28,7 @@ _DEFUN (_strtosfix64_r, (rptr, nptr, endptr), _simdstrtold ((char *)nptr, endptr, &ldbl); /* treat NAN as domain error, +/- infinity as saturation */ - ld_type = _simdldcheck (&ldbl.ld); + ld_type = _simdldcheck (&ldbl); if (ld_type != 0) { if (ld_type == 1) -- cgit v1.2.3