diff options
-rw-r--r-- | libdecnumber/ChangeLog | 5 | ||||
-rw-r--r-- | libdecnumber/decNumber.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index d4bb98418a1..f7368a44c34 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,8 @@ +2005-12-20 Roger Sayle <roger@eyesopen.com> + + * decNumber.c (decStrEq): Cast operands to int before calling + tolower to avoid compilation warnings on Tru64. + 2005-12-05 Ben Elliston <bje@au.ibm.com> * Makefile.in (clean): Remove stray reference to libcpp.a. diff --git a/libdecnumber/decNumber.c b/libdecnumber/decNumber.c index 28a4ea1c6e4..0625e9f2541 100644 --- a/libdecnumber/decNumber.c +++ b/libdecnumber/decNumber.c @@ -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 */ |