summaryrefslogtreecommitdiffstats
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-28 05:36:37 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-28 05:36:37 +0000
commit987df50ccb1955b07563ec3931ee88c2365c5393 (patch)
tree67f288856c2601f1829fb1f3254e2ffe37b22719 /gcc/toplev.c
parentd1bd924126671965dfc076ef9fdaecebc57e5d7e (diff)
downloadppe42-gcc-987df50ccb1955b07563ec3931ee88c2365c5393.tar.gz
ppe42-gcc-987df50ccb1955b07563ec3931ee88c2365c5393.zip
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1111 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 19da62137d9..a8149843ea7 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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;
OpenPOWER on IntegriCloud