diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-30 15:30:11 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-30 15:30:11 +0000 |
commit | f6ab5cd567eae5b6537564ff2a13e61b444e8d59 (patch) | |
tree | 16b8bdbdcda3062516b1b84ec4b0f900d17ab120 /gnu/usr.bin/gas/config/atof-ns32k.c | |
parent | cf6ba41bd10581a3e33ca72326b838f86f9191d1 (diff) |
From NetBSD: merge of 960317
Diffstat (limited to 'gnu/usr.bin/gas/config/atof-ns32k.c')
-rw-r--r-- | gnu/usr.bin/gas/config/atof-ns32k.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/usr.bin/gas/config/atof-ns32k.c b/gnu/usr.bin/gas/config/atof-ns32k.c index cadeec08af7..658578406f4 100644 --- a/gnu/usr.bin/gas/config/atof-ns32k.c +++ b/gnu/usr.bin/gas/config/atof-ns32k.c @@ -1,3 +1,5 @@ +/* $OpenBSD: atof-ns32k.c,v 1.2 1996/03/30 15:29:30 niklas Exp $ */ + /* atof_ns32k.c - turn a Flonum into a ns32k floating point number Copyright (C) 1987 Free Software Foundation, Inc. @@ -132,10 +134,11 @@ static void make_invalid_floating_point_number (words) LITTLENUM_TYPE * words; { - words[0]= ((unsigned)-1)>>1; /* Zero the leftmost bit */ - words[1]= -1; - words[2]= -1; - words[3]= -1; + /* Zero the leftmost bit */ + words[0]= (LITTLENUM_TYPE) ((unsigned)-1)>>1; + words[1]= (LITTLENUM_TYPE) -1; + words[2]= (LITTLENUM_TYPE) -1; + words[3]= (LITTLENUM_TYPE) -1; } /***********************************************************************\ |