diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 21:36:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-27 21:36:05 +0000 |
commit | d81051eb4ba1855e340e7f8351cd92719f63e0a1 (patch) | |
tree | 8ac9385d64d2e92bb2038fe769eb76dfc52924fd /gnu/usr.bin/gas | |
parent | 5522b9730363192ff136895cace5341eb20bbc0d (diff) |
from netbsd; add some casts
Diffstat (limited to 'gnu/usr.bin/gas')
-rw-r--r-- | gnu/usr.bin/gas/config/atof-ieee.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; } /***********************************************************************\ |