Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/softfloat/bits64 Fix a bug introduced by lint cleanup.



details:   https://anonhg.NetBSD.org/src/rev/29932de2f2de
branches:  trunk
changeset: 778386:29932de2f2de
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Mar 24 00:06:20 2012 +0000

description:
Fix a bug introduced by lint cleanup.

diffstat:

 lib/libc/softfloat/bits64/softfloat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f58050f512b2 -r 29932de2f2de lib/libc/softfloat/bits64/softfloat.c
--- a/lib/libc/softfloat/bits64/softfloat.c     Fri Mar 23 23:59:50 2012 +0000
+++ b/lib/libc/softfloat/bits64/softfloat.c     Sat Mar 24 00:06:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softfloat.c,v 1.10 2012/03/21 02:32:26 christos Exp $ */
+/* $NetBSD: softfloat.c,v 1.11 2012/03/24 00:06:20 matt Exp $ */
 
 /*
  * This version hacked for use with gcc -msoft-float by bjh21.
@@ -46,7 +46,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: softfloat.c,v 1.10 2012/03/21 02:32:26 christos Exp $");
+__RCSID("$NetBSD: softfloat.c,v 1.11 2012/03/24 00:06:20 matt Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef SOFTFLOAT_FOR_GCC
@@ -2000,7 +2000,7 @@
         aSig >>= 1;
         ++zExp;
     }
-    zSig = (bits32)(((bits64) aSig) << 32) / bSig;
+    zSig = (bits32)((((bits64) aSig) << 32) / bSig);
     if ( ( zSig & 0x3F ) == 0 ) {
         zSig |= ( (bits64) bSig * zSig != ( (bits64) aSig )<<32 );
     }



Home | Main Index | Thread Index | Old Index