libctf: fix the type of ctf_enum.cte_value
authorNick Alcock <nick.alcock@oracle.com>
Mon, 3 Jun 2019 10:38:08 +0000 (11:38 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 4 Jun 2019 16:05:08 +0000 (17:05 +0100)
commita610aa4f9cf61d38b8e0fe60dfaac078d636089f
tree00dfe5377dbe4479dda5a80da62ecb9448e1f5f4
parent9186c494a3bb61a55a29ec04aa0d1684a8c46838
libctf: fix the type of ctf_enum.cte_value

This stops the file format from depending on the size of the host int.
(It does mean that we cannot encode enums with a value > 2^32 on
platforms with an int > 2^32: this will be fixed in the next format
revision.)

include/
* ctf.h (ctf_enum.cte_value): Fix type to int32_t.
include/ChangeLog
include/ctf.h