}
//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
#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