summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-10 22:56:20 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-10 22:56:20 +0000
commit151cc94746d393a448a13ea0d5efe8a87adda773 (patch)
treeaf5c069de201968b312e04750e16cf0b401bc594 /libjava/java
parent8954523869fe72beb7f72643ddf3168c256eb9af (diff)
downloadppe42-gcc-151cc94746d393a448a13ea0d5efe8a87adda773.tar.gz
ppe42-gcc-151cc94746d393a448a13ea0d5efe8a87adda773.zip
* java/lang/natDouble.cc (toString): Added parens.
* gnu/gcj/io/shs.h (PROTO): Define. * link.cc (resolve_pool_entry): Added missing braces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120652 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/natDouble.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/lang/natDouble.cc b/libjava/java/lang/natDouble.cc
index 1a33a57158e..87123bc1bc6 100644
--- a/libjava/java/lang/natDouble.cc
+++ b/libjava/java/lang/natDouble.cc
@@ -1,6 +1,6 @@
// natDouble.cc - Implementation of java.lang.VMDouble native methods.
-/* Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005, 2006 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005, 2006, 2007 Free Software Foundation
This file is part of libgcj.
@@ -87,7 +87,7 @@ java::lang::VMDouble::toString(jdouble value, jboolean isFloat)
if (sign)
*d++ = '-';
- if (value >= 1e-3 && value < 1e7 || value == 0)
+ if ((value >= 1e-3 && value < 1e7) || value == 0)
{
if (decpt <= 0)
*d++ = '0';
OpenPOWER on IntegriCloud