update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdio / putc.c
index b020075..a047be2 100644 (file)
@@ -62,6 +62,9 @@ int putc(int c, FILE* fp)
 }
 
 //wint_t putwc(wint_t c, FILE* fp)
+/*
+ * @implemented
+ */
 int putwc(wint_t c, FILE* fp)
 {
     // valid stream macro should check that fp is dword aligned
@@ -89,10 +92,10 @@ int putwc(wint_t c, FILE* fp)
 #if 1
             wint_t result;
             result = _flsbuf(c, fp);
-            if (result == EOF)
+            if (result == (wint_t)EOF)
                 return WEOF;
             result = _flsbuf((int)(c >> 8), fp);
-            if (result == EOF)
+            if (result == (wint_t)EOF)
                 return WEOF;
             return result;
 #else