mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
v850_elf_set_note prototype
v850_elf_set_note is declared using an unsigned int note param in elf32-v850.h but defined with enum c850_notes note in elf32-v850.c. Current mainline gcc is warning about this. Huh. * elf32-v850.c (v850_elf_set_note): Make "note" param an unsigned int.
This commit is contained in:
parent
2918df9368
commit
74a04e5b2a
@ -2414,7 +2414,7 @@ v850_elf_create_sections (struct bfd_link_info * info)
|
||||
}
|
||||
|
||||
bool
|
||||
v850_elf_set_note (bfd * abfd, enum v850_notes note, unsigned int val)
|
||||
v850_elf_set_note (bfd * abfd, unsigned int note, unsigned int val)
|
||||
{
|
||||
asection * notes = bfd_get_section_by_name (abfd, V850_NOTE_SECNAME);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user