diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2021-07-12 09:29:06 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2021-09-16 12:26:48 -0300 |
| commit | b275f44a4a7f5338d8dd6cb2baf80b61b549913e (patch) | |
| tree | 33c9cb8158e1be58345a4051cd2a475c4b14e713 /lib/routing_nb_config.c | |
| parent | b1c1004fb93b63a0a4502e35966cf9bd6cf0166a (diff) | |
ospf6d: fix build problem with ancient json-c versions
Some CI VMs are using really old versions of json-c (pre 2013 [1])
that expect filenames to be passed as "char *" instead of "const char *".
Add some explicit casts to fix the resulting compiler errors on those
VMs (passing "char *" when the API expects "const char *" is fine).
Hopefully this commit should be reverted once the CI is updated to use
newer versions of json-c.
[1] https://github.com/json-c/json-c/commit/20e4708c
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/routing_nb_config.c')
0 files changed, 0 insertions, 0 deletions
