From: Piotr Caban piotr@codeweavers.com
--- dlls/msvcirt/msvcirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c index 35f532425d3..9ad0f45cbed 100644 --- a/dlls/msvcirt/msvcirt.c +++ b/dlls/msvcirt/msvcirt.c @@ -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 {