libctf: avoid mingw warning
authorNick Alcock <nick.alcock@oracle.com>
Fri, 10 Jun 2022 18:06:59 +0000 (19:06 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jun 2022 18:27:15 +0000 (19:27 +0100)
commit3ec2b3c05887bd00a6d4a4e94e004c6d9d2f70eb
tree4f16e53326e51dd62423c01466530409d7216177
parent6bd2318f32842a27b03677b670421f93c14f9302
libctf: avoid mingw warning

A missing paren led to an intended cast to avoid dependence on the size
of size_t in one argument of ctf_err_warn applying to the wrong type by
mistake.

libctf/ChangeLog:

* ctf-serialize.c (ctf_write_mem): Fix cast.
libctf/ctf-serialize.c