wasm-micro-runtime/core/iwasm/libraries
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
..
debug-engine Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
lib-pthread Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
lib-rats Fix a potential memory leak issue in wasm_native_init (#1465) 2022-09-08 14:22:34 +08:00
lib-socket socket: Explicit narrowing type cast and add missing static keywords (#1539) 2022-09-29 22:44:57 +08:00
libc-builtin Make libc-builtin buffered printf be a common feature (#1483) 2022-09-15 15:09:01 +08:00
libc-emcc Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
libc-uvwasi Fix libc-wasi/uvwasi poll/environ_get issues (#1300) 2022-07-20 20:02:26 +08:00
libc-wasi Update __wasi_sock_accept signature to match wasi_snapshot_preview1 (#1531) 2022-09-29 09:29:54 +08:00
thread-mgr thread-mgr: Prevent an already detached thread from being detached again (#1487) 2022-09-15 17:13:33 +08:00