diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-12 16:34:47 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-12 16:39:25 +0100 |
commit | 2fef937354881d1de567b2c0df28718acd8198df (patch) | |
tree | 0a680ffe700337aa37e97268f63cace00a807814 | |
parent | d3511b24ea82409d1769a3b62d0996fe813635d4 (diff) | |
download | gdb-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.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5539e98..a234258 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +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. + 2020-07-21 Jon Turney <jon.turney@dronecode.org.uk> * elf.c (elfcore_grok_win32pstatus): Warn on malformed @@ -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; |