mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
msvcirt: Don't fail in streambuf_xsputn on 0xff character.
This commit is contained in:
parent
904bedb3e9
commit
dbe6244f10
|
@ -820,7 +820,7 @@ int __thiscall streambuf_xsputn(streambuf *this, const char *data, int length)
|
|||
|
||||
while (copied < length) {
|
||||
if (this->unbuffered || this->pptr == this->epptr) {
|
||||
if (call_streambuf_overflow(this, data[copied]) == EOF)
|
||||
if (call_streambuf_overflow(this, (unsigned char)data[copied]) == EOF)
|
||||
break;
|
||||
copied++;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue