X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtod.c;h=fdfc09f1bc0ca61909db5116774e57d134d5b896;hb=5d0b385594bc914e6233988bfb6bc1b92a2184b5;hp=a59858ad5b13c32c8b05e45e5c5588a81ab636ff;hpb=4fde4952d5a3db51a122f96a31bfcd6879399fea;p=gnulib.git diff --git a/lib/strtod.c b/lib/strtod.c index a59858ad5..fdfc09f1b 100644 --- a/lib/strtod.c +++ b/lib/strtod.c @@ -14,9 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include @@ -101,7 +99,7 @@ strtod (const char *nptr, char **endptr) if (!got_digit) goto noconv; - if (tolower (*s) == 'e') + if (tolower ((unsigned char) *s) == 'e') { /* Get the exponent specified after the `e' or `E'. */ int save = errno;