streambuf.tcc (__copy_streambufs): Adjust the type of __avail to ptrdiff_t to avoid signed-unsigned warning.
2003-05-01 Paolo Carlini <pcarlini@unitus.it> * include/bits/streambuf.tcc (__copy_streambufs): Adjust the type of __avail to ptrdiff_t to avoid signed-unsigned warning. From-SVN: r66356
This commit is contained in:
parent
e78d8df476
commit
f4731b64d2
@ -1,3 +1,8 @@
|
|||||||
|
2003-05-01 Paolo Carlini <pcarlini@unitus.it>
|
||||||
|
|
||||||
|
* include/bits/streambuf.tcc (__copy_streambufs): Adjust the
|
||||||
|
type of __avail to ptrdiff_t to avoid signed-unsigned warning.
|
||||||
|
|
||||||
2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
|
2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* testsuite/abi_check.cc (check_version): Update known versions.
|
* testsuite/abi_check.cc (check_version): Update known versions.
|
||||||
|
@ -192,7 +192,7 @@ namespace std
|
|||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
streamsize __xtrct;
|
streamsize __xtrct;
|
||||||
const size_t __avail = __sbin->_M_in_end
|
const ptrdiff_t __avail = __sbin->_M_in_end
|
||||||
- __sbin->_M_in_cur;
|
- __sbin->_M_in_cur;
|
||||||
if (__avail)
|
if (__avail)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user