Commit 9fc023b7 by Kai Tietz Committed by Kai Tietz

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
parent 30b8f78b
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> 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
* doc/tm.texi.in (TARGET_HAS_NO_HW_DIVIDE): Define. * 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) ...@@ -498,7 +498,7 @@ i386_pe_section_type_flags (tree decl, const char *name, int reloc)
flags |= SECTION_LINKONCE; flags |= SECTION_LINKONCE;
/* See if we already have an entry for this section. */ /* 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) if (!*slot)
{ {
*slot = (unsigned int *) xmalloc (sizeof (unsigned int)); *slot = (unsigned int *) xmalloc (sizeof (unsigned int));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment