mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
checks against EOF were always failing according to compiler
svn path=/trunk/; revision=5088
This commit is contained in:
parent
abfcc7803e
commit
e2154cb138
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: putc.c,v 1.8 2003/07/11 21:58:09 royce Exp $
|
/* $Id: putc.c,v 1.9 2003/07/11 22:17:09 royce Exp $
|
||||||
*
|
*
|
||||||
* ReactOS msvcrt library
|
* ReactOS msvcrt library
|
||||||
*
|
*
|
||||||
|
@ -92,10 +92,10 @@ int putwc(wint_t c, FILE* fp)
|
||||||
#if 1
|
#if 1
|
||||||
wint_t result;
|
wint_t result;
|
||||||
result = _flsbuf(c, fp);
|
result = _flsbuf(c, fp);
|
||||||
if (result == EOF)
|
if (result == (wint_t)EOF)
|
||||||
return WEOF;
|
return WEOF;
|
||||||
result = _flsbuf((int)(c >> 8), fp);
|
result = _flsbuf((int)(c >> 8), fp);
|
||||||
if (result == EOF)
|
if (result == (wint_t)EOF)
|
||||||
return WEOF;
|
return WEOF;
|
||||||
return result;
|
return result;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue