This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm
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
..
aot Clear Windows compile warnings (#1530) 2022-09-29 14:02:58 +08:00
common Clear Windows compile warnings (#1530) 2022-09-29 14:02:58 +08:00
compilation core/iwasm/compilation/debug/dwarf_extractor.cpp: remove dead code (#1507) 2022-09-20 14:43:29 +08:00
fast-jit Fix Fast JIT issues reported by instrument test (#1488) 2022-09-22 19:37:59 +08:00
include Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
interpreter Clear Windows compile warnings (#1530) 2022-09-29 14:02:58 +08:00
libraries socket: Explicit narrowing type cast and add missing static keywords (#1539) 2022-09-29 22:44:57 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00