OSDN Git Service

* decNumber.c (decStrEq): Cast operands to int before calling
[pf3gnuchains/gcc-fork.git] / libdecnumber / decNumber.c
index 28a4ea1..0625e9f 100644 (file)
@@ -5445,7 +5445,7 @@ decStrEq (const char *str1, const char *str2)
        }
       else
        {
-         if (tolower (*str1) != tolower (*str2))
+         if (tolower ((int) *str1) != tolower ((int) *str2))
            return 0;
        }
     }                          /* stepping */