]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Thu, 28 May 1992 05:36:37 +0000 (05:36 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 28 May 1992 05:36:37 +0000 (05:36 +0000)
From-SVN: r1111

gcc/toplev.c

index 19da62137d9371de2b5293a249367f9849ebc4e4..a8149843ea71fdf123c56d3e76c9f56334ea5a36 100644 (file)
@@ -1361,7 +1361,7 @@ compile_file (name)
     pfatal_with_name (name);
 
 #ifdef IO_BUFFER_SIZE
-  setvbuf (finput, xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE);
+  setvbuf (finput, (char *) xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE);
 #endif
 
   /* Initialize data in various passes.  */
@@ -1575,7 +1575,8 @@ compile_file (name)
     }
 
 #ifdef IO_BUFFER_SIZE
-  setvbuf (asm_out_file, xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE);
+  setvbuf (asm_out_file, (char *) xmalloc (IO_BUFFER_SIZE),
+          _IOFBF, IO_BUFFER_SIZE);
 #endif
 
   input_filename = name;