Commit 5e739d00 by Roger Sayle Committed by Roger Sayle

decNumber.c (decStrEq): Cast operands to int before calling tolower to avoid…

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
parent 212f829c
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment