update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdio / fputs.c
index e3d14ba..11c1e99 100644 (file)
@@ -61,6 +61,9 @@ fputs(const char *s, FILE *f)
   return(r);
 }
 
+/*
+ * @implemented
+ */
 int
 fputws(const wchar_t* s, FILE* f)
 {
@@ -73,7 +76,7 @@ fputws(const wchar_t* s, FILE* f)
   if (unbuffered)
   {
     f->_flag &= ~_IONBF;
-    f->_ptr = f->_base = localbuf;
+    f->_ptr = f->_base = (unsigned char*)localbuf;
     f->_bufsiz = BUFSIZ;
   }