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:
Roger Sayle 2005-12-20 17:23:53 +00:00 committed by Roger Sayle
parent 212f829c09
commit 5e739d00c8
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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 */