diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2021-03-02 15:10:05 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2021-03-02 15:10:08 +0000 |
commit | cf6a0b989a57db81f1470560edf4dbfb1835c032 (patch) | |
tree | 0e6b4836d3d148c59915e7631f32a0785bc8fd74 /libctf/ChangeLog | |
parent | 4659554b280bee894d117360f403d4073edd3bc9 (diff) | |
download | binutils-cf6a0b989a57db81f1470560edf4dbfb1835c032.zip binutils-cf6a0b989a57db81f1470560edf4dbfb1835c032.tar.gz binutils-cf6a0b989a57db81f1470560edf4dbfb1835c032.tar.bz2 |
libctf: fix signed/unsigned comparison confusion
Comparing an encoding's cte_bits to a ctf_type_size needs a cast:
one is a uint32_t and the other is an ssize_t.
libctf/ChangeLog
2021-03-02 Nick Alcock <nick.alcock@oracle.com>
* ctf-dump.c (ctf_dump_format_type): Fix signed/unsigned confusion.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r-- | libctf/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 767d48c..f0a1754 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,9 @@ 2021-03-02 Nick Alcock <nick.alcock@oracle.com> + * ctf-dump.c (ctf_dump_format_type): Fix signed/unsigned confusion. + +2021-03-02 Nick Alcock <nick.alcock@oracle.com> + * ctf-dedup.c (ctf_dedup): Pass on errors from ctf_dedup_hash_type. Call ctf_dedup_fini properly on other errors. (ctf_dedup_emit_type): Set the errno on dynhash insertion failure. |