aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2008-09-09 16:36:14 +0000
committerRainer Orth <ro@gcc.gnu.org>2008-09-09 16:36:14 +0000
commit1f57487cf037ee3d06beab4b6dfc6a2dddb9a878 (patch)
tree7f56945272b1970151fb4c039272d8f22336a453 /gcc/mips-tfile.c
parent00efcc2b88028e7582b1090617125256e3cd7292 (diff)
downloadgcc-1f57487cf037ee3d06beab4b6dfc6a2dddb9a878.zip
gcc-1f57487cf037ee3d06beab4b6dfc6a2dddb9a878.tar.gz
gcc-1f57487cf037ee3d06beab4b6dfc6a2dddb9a878.tar.bz2
Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c warnings.
* 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. From-SVN: r140158
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 56a9537..87b278a 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++)
{