Commit 81ad466
zc-read-impl-leader
fix(ff_config): cast const log.dir on free to satisfy -Werror lib build
ff_global_cfg.log.dir is 'const char *' (ff_config.h:323); the cleanup
frees added in ca83653 trigger -Werror=discarded-qualifiers under the
lib Makefile's -Werror, breaking the whole lib build. Cast to (void*) at
the two free sites (L970 ini handler replace, L1676 ff_unload_config).
No behavior change. Unblocks the build for ZC-RECV work.1 parent e62afc5 commit 81ad466
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
| 970 | + | |
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| |||
1673 | 1673 | | |
1674 | 1674 | | |
1675 | 1675 | | |
1676 | | - | |
| 1676 | + | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
| |||
0 commit comments