summaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-09 16:36:14 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-09 16:36:14 +0000
commitbffd134c48bbcbcd8da25bf982d27f05c9349d1b (patch)
tree7f56945272b1970151fb4c039272d8f22336a453 /gcc/mips-tfile.c
parenteff1687c7f3b0d6e246579efea7f96c3bb283c57 (diff)
downloadgcc-bffd134c48bbcbcd8da25bf982d27f05c9349d1b.tar.gz
* Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c
warnings. * mips-tfile.c (copy_object): Cast alloca result to int *. * mips-tdump.c (print_symbol): Cast xmalloc return values to proper types. Rename class to sclass. (read_tfile): Cast read_seek return values to proper types. Cast xcalloc return value to proper type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index 56a953747e4..87b278ab4d6 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -4469,7 +4469,7 @@ copy_object (void)
(in case there are duplicate filenames, we collapse them into one
file section, the MIPS assembler may or may not collapse them). */
- remap_file_number = alloca (sizeof (int) * orig_sym_hdr.ifdMax);
+ remap_file_number = (int *) alloca (sizeof (int) * orig_sym_hdr.ifdMax);
for (fd = delete_ifd; fd < orig_sym_hdr.ifdMax; fd++)
{