diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 02:12:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 02:12:38 +0000 |
commit | 3a9e092dee05b7fc07b4dd3c24454af271d83b7d (patch) | |
tree | d851e1d130d96b8f3a3eac47405fd01b9dcee579 /gas/config/atof-vax.c | |
parent | 16c95ba0a21c5321371a29623d28a0367db356e3 (diff) | |
download | binutils-redhat-3a9e092dee05b7fc07b4dd3c24454af271d83b7d.tar.gz |
1999-09-11 Donn Terry <donn@interix.com>
* config/atof-ieee.c (atof_ieee): Change what_kind to int.
* config/atof-vax.c (flonum_gen2vax): Change format_letter to
int.
(md_atof): Return NULL rather than 0.
* config/tc-i386.c (md_atof): Change type to int.
Diffstat (limited to 'gas/config/atof-vax.c')
-rw-r--r-- | gas/config/atof-vax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/atof-vax.c b/gas/config/atof-vax.c index 45b90a8cc2..bc27cdd36f 100644 --- a/gas/config/atof-vax.c +++ b/gas/config/atof-vax.c @@ -260,7 +260,7 @@ atof_vax (str, what_kind, words) int /* 0: OK. */ flonum_gen2vax (format_letter, f, words) - char format_letter; /* One of 'd' 'f' 'g' 'h'. */ + int format_letter; /* One of 'd' 'f' 'g' 'h'. */ FLONUM_TYPE *f; LITTLENUM_TYPE *words; /* Deliver answer here. */ { @@ -511,7 +511,7 @@ md_atof (what_statement_type, literalP, sizeP) }; *sizeP = number_of_chars; - return kind_of_float ? 0 : _("Bad call to md_atof()"); + return kind_of_float ? NULL : _("Bad call to md_atof()"); } /* end of atof-vax.c */ |