diff lib/strtod.c @ 6930:188d89808804

* strtod.c (strtod): cast the argument of tolower to unsigned char.
author Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
date Thu, 06 Jul 2006 17:23:55 +0000
parents fa896bb33133
children 8a1a9361108c
line wrap: on
line diff
--- a/lib/strtod.c	Thu Jul 06 13:53:54 2006 +0000
+++ b/lib/strtod.c	Thu Jul 06 17:23:55 2006 +0000
@@ -101,7 +101,7 @@
   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;