decNumber.c (decStrEq): Cast operands to int before calling tolower to avoid compilation warnings on Tru64.
* decNumber.c (decStrEq): Cast operands to int before calling tolower to avoid compilation warnings on Tru64. From-SVN: r108858
This commit is contained in:
parent
212f829c09
commit
5e739d00c8
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue