winnt.c (i386_pe_section_type_flags): Use const pointer cast.
* config/i386/winnt.c (i386_pe_section_type_flags): Use const pointer cast. From-SVN: r205445
This commit is contained in:
parent
30b8f78b72
commit
9fc023b767
@ -1,3 +1,8 @@
|
||||
2013-11-27 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* config/i386/winnt.c (i386_pe_section_type_flags): Use const
|
||||
pointer cast.
|
||||
|
||||
2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
|
||||
|
||||
* doc/tm.texi.in (TARGET_HAS_NO_HW_DIVIDE): Define.
|
||||
|
@ -498,7 +498,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 ((unsigned int *)name, INSERT);
|
||||
slot = htab.find_slot ((const unsigned int *)name, INSERT);
|
||||
if (!*slot)
|
||||
{
|
||||
*slot = (unsigned int *) xmalloc (sizeof (unsigned int));
|
||||
|
Loading…
Reference in New Issue
Block a user