From d81051eb4ba1855e340e7f8351cd92719f63e0a1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 27 Dec 1995 21:36:05 +0000 Subject: from netbsd; add some casts --- gnu/usr.bin/gas/config/atof-ieee.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gnu/usr.bin/gas') diff --git a/gnu/usr.bin/gas/config/atof-ieee.c b/gnu/usr.bin/gas/config/atof-ieee.c index e1009671543..90ca1bacfd4 100644 --- a/gnu/usr.bin/gas/config/atof-ieee.c +++ b/gnu/usr.bin/gas/config/atof-ieee.c @@ -18,7 +18,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef lint -static char rcsid[] = "$Id: atof-ieee.c,v 1.1 1995/10/18 08:39:01 deraadt Exp $"; +static char rcsid[] = "$Id: atof-ieee.c,v 1.2 1995/12/27 21:36:04 deraadt Exp $"; #endif #include "as.h" @@ -128,12 +128,12 @@ static void LITTLENUM_TYPE *words; { as_bad("cannot create floating-point number"); - words[0] = ((unsigned) -1) >> 1; /* Zero the leftmost bit */ - words[1] = -1; - words[2] = -1; - words[3] = -1; - words[4] = -1; - words[5] = -1; + words[0] = (LITTLENUM_TYPE) ((unsigned) -1) >> 1; /* Zero the leftmost bit */ + words[1] = (LITTLENUM_TYPE) -1; + words[2] = (LITTLENUM_TYPE) -1; + words[3] = (LITTLENUM_TYPE) -1; + words[4] = (LITTLENUM_TYPE) -1; + words[5] = (LITTLENUM_TYPE) -1; } /***********************************************************************\ -- cgit v1.2.3