From: tbsaunde 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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe19425ac2507efe573e9942052866e3dbba5e8b;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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211962 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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));