Formerly ../stdio/fwrite.c.~16~
authorroland <roland>
Fri, 26 Jun 1992 03:52:36 +0000 (03:52 +0000)
committerroland <roland>
Fri, 26 Jun 1992 03:52:36 +0000 (03:52 +0000)
stdio/fwrite.c

index cf2c618..7ea7f94 100644 (file)
@@ -75,7 +75,8 @@ DEFUN(fwrite, (ptr, size, nmemb, stream),
        buffer-flushing function, so we just do a straight write.  */
     {
       int count = (stream->__io_funcs.__write == NULL ? to_write :
-                  (*stream->__io_funcs.__write) (stream->__cookie, p,
+                  (*stream->__io_funcs.__write) (stream->__cookie,
+                                                 (CONST char *) p,
                                                  to_write));
       if (count > 0)
        {