aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-08-12 16:34:47 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-08-12 16:39:25 +0100
commit2fef937354881d1de567b2c0df28718acd8198df (patch)
tree0a680ffe700337aa37e97268f63cace00a807814 /bfd/elf.c
parentd3511b24ea82409d1769a3b62d0996fe813635d4 (diff)
downloadgdb-2fef937354881d1de567b2c0df28718acd8198df.zip
gdb-2fef937354881d1de567b2c0df28718acd8198df.tar.gz
gdb-2fef937354881d1de567b2c0df28718acd8198df.tar.bz2
Fix signedness comparison warning in elfcore_grok_win32pstatus()
bfd/ChangeLog: 2020-08-12 Jon Turney <jon.turney@dronecode.org.uk> * elf.c (elfcore_grok_win32pstatus): Use unsigned int for win32pstatus note type to avoid signedness comparison warning.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index e8c457c..54c7204 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -10142,7 +10142,7 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note)
size_t len;
size_t name_size;
asection *sect;
- int type;
+ unsigned int type;
int is_active_thread;
bfd_vma base_addr;