diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-01-24 08:00:43 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-01-25 09:15:36 -0500 |
| commit | ea6caa1f523a355cc95a1c73432e595f5ef4ec46 (patch) | |
| tree | 4fd5e98f7f8e0943a15a16675009edc91c1df568 /zebra/rt_socket.c | |
| parent | 833c1f9fd14c4764b9f36f5e61c57130ff4f7118 (diff) | |
lib: Wrapper a function to make gcc-10 happy
gcc-10 is complaining:
lib/frrscript.c:42:14: error: cast between incompatible function types from ‘const char * (*)(lua_State *, const char *)’ to ‘void (*)(lua_State *, const void *)’ [-Werror=cast-function-type]
42 | .encoder = (encoder_func)lua_pushstring,
| ^
Wrapper it to make it happy. Not sure what else to do.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rt_socket.c')
0 files changed, 0 insertions, 0 deletions
