wasm-micro-runtime/core/iwasm/libraries/lib-socket
Jämes Ménétrey 5b10d4e630
socket: Explicit narrowing type cast and add missing static keywords (#1539)
While compiling the file wasi_socket_ext.c with pedantic options (typically
`-Wimplicit-int-conversion` and `-Wmissing-prototypes`), some warnings are raised.

This PR addresses those warnings by adding missing static statements before
functions and explicitly casting a narrowing conversion.

And fix the error handling after calling getpeername.
2022-09-29 22:44:57 +08:00
..
inc Update __wasi_sock_accept signature to match wasi_snapshot_preview1 (#1531) 2022-09-29 09:29:54 +08:00
src/wasi socket: Explicit narrowing type cast and add missing static keywords (#1539) 2022-09-29 22:44:57 +08:00
lib_socket_wasi.cmake Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00