natDouble.cc (toString): Added parens.

* java/lang/natDouble.cc (toString): Added parens.
	* gnu/gcj/io/shs.h (PROTO): Define.
	* link.cc (resolve_pool_entry): Added missing braces.

From-SVN: r120652
This commit is contained in:
Tom Tromey 2007-01-10 22:56:20 +00:00 committed by Tom Tromey
parent 26b53f802d
commit ea517ca550
4 changed files with 23 additions and 13 deletions

View file

@ -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';