libctf: fix signed/unsigned comparison confusion
authorNick Alcock <nick.alcock@oracle.com>
Tue, 2 Mar 2021 15:10:05 +0000 (15:10 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 2 Mar 2021 15:10:08 +0000 (15:10 +0000)
commitcf6a0b989a57db81f1470560edf4dbfb1835c032
tree0e6b4836d3d148c59915e7631f32a0785bc8fd74
parent4659554b280bee894d117360f403d4073edd3bc9
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.
libctf/ChangeLog
libctf/ctf-dump.c
This page took 0.024729 seconds and 4 git commands to generate.