From: Trevor Saunders Date: Wed, 25 Jun 2014 00:13:17 +0000 (+0000) Subject: Fixup const qualification of the argument passed to hash_table::find_slot X-Git-Tag: releases/gcc-5.1.0~6682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c03222923b9a0509c0d98585eb70f15b2e64ffb;p=thirdparty%2Fgcc.git Fixup const qualification of the argument passed to hash_table::find_slot gcc/ * config/i386/winnt.c (i386_pe_section_type_flags): Fixup const qualification. From-SVN: r211962 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85503f1580e8..a8c181d52195 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-24 Trevor Saunders + + * config/i386/winnt.c (i386_pe_section_type_flags): Fix const + qualification in cast. + 2014-06-24 Jan Hubicka * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL. diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index dd5213319847..7dbc39bf5f15 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -500,7 +500,7 @@ i386_pe_section_type_flags (tree decl, const char *name, int reloc) flags |= SECTION_LINKONCE; /* See if we already have an entry for this section. */ - slot = htab->find_slot ((const unsigned int *)name, INSERT); + slot = htab->find_slot ((unsigned int *)name, INSERT); if (!*slot) { *slot = (unsigned int *) xmalloc (sizeof (unsigned int));