mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CRT]
Fix _flsbuf return value svn path=/trunk/; revision=50314
This commit is contained in:
@@ -78,5 +78,5 @@ _flsbuf(int ch, FILE *stream)
|
||||
return EOF;
|
||||
}
|
||||
|
||||
return (TCHAR)ch;
|
||||
return ch & (sizeof(TCHAR) > sizeof(char) ? 0xffff : 0xff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user