OSDN Git Service

2005-09-18 Paul Brook <paul@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / m68k / fpgnulib.c
index 5368559..f63c2be 100644 (file)
@@ -121,7 +121,7 @@ __floatsidf (long a1)
   if (a1 < 0)
     {
       sign = SIGNBIT;
-      a1 = -a1;
+      a1 = (long)-(unsigned long)a1;
       if (a1 < 0)
        {
          dl.l.upper = SIGNBIT | ((32 + EXCESSD) << 20L);