fnet.c

Simple C networking library
git clone git://git.finwo.net/lib/fnet.c
Log | Files | Refs | README

commit 01fbfd7164f2d1b52b128aab115533d90a9e9bad
parent 31a136faf1f4c248a8215f8999a486e74f26fe7d
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Thu, 26 Oct 2023 23:06:40 +0200

remove type warning from known-good pointer retype

Diffstat:
Msrc/fnet.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fnet.c b/src/fnet.c @@ -750,6 +750,6 @@ FNET_RETURNCODE fnet_main() { FNET_RETURNCODE fnet_shutdown() { runners = 0; - while(connections) fnet_free(connections); + while(connections) fnet_free((struct fnet_t *)connections); return FNET_RETURNCODE_OK; }