aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 08:16:39 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 08:16:39 +0000
commit42d5e2f4650e254ffca7432968615fbd3e3e00c7 (patch)
tree7742bcd12a61d5c784fe2ceae05f31dd5e62c21c /libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h
parent1373952868cb7ac8a23bc9f8f292cb61ef65c652 (diff)
This commit was manufactured by cvs2svn to create tagx86-64-merge-2002-03-18
'x86-64-merge-2002-03-18'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/x86-64-merge-2002-03-18@50948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h')
-rw-r--r--libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h b/libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h
index 86a38fa8f58..18324d167dd 100644
--- a/libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h
+++ b/libstdc++-v3/config/os/gnu-linux/bits/ctype_noninline.h
@@ -71,14 +71,14 @@
char
ctype<char>::do_toupper(char __c) const
- { return _M_toupper[static_cast<int>(__c)]; }
+ { return _M_toupper[static_cast<unsigned char>(__c)]; }
const char*
ctype<char>::do_toupper(char* __low, const char* __high) const
{
while (__low < __high)
{
- *__low = _M_toupper[static_cast<int>(*__low)];
+ *__low = _M_toupper[static_cast<unsigned char>(*__low)];
++__low;
}
return __high;
@@ -86,14 +86,14 @@
char
ctype<char>::do_tolower(char __c) const
- { return _M_tolower[static_cast<int>(__c)]; }
+ { return _M_tolower[static_cast<unsigned char>(__c)]; }
const char*
ctype<char>::do_tolower(char* __low, const char* __high) const
{
while (__low < __high)
{
- *__low = _M_tolower[static_cast<int>(*__low)];
+ *__low = _M_tolower[static_cast<unsigned char>(*__low)];
++__low;
}
return __high;