mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-28 02:20:50 +00:00
Fix compile warnings in libc-wasi posix.c:
```
posix.c:880:41: warning: comparison of integers of different signs:
'unsigned long' and 'ssize_t' (aka 'long') [-Wsign-compare]
if (bufoff + iov[i].buf_len < len) {
posix.c:1359:32: warning: comparison of integers of different signs:
'off_t' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (ret == 0 && sb.st_size < offset + len)
```
|
||
|---|---|---|
| .. | ||
| LICENSE | ||
| locking.h | ||
| numeric_limits.h | ||
| posix.c | ||
| posix.h | ||
| queue.h | ||
| random.c | ||
| random.h | ||
| README.md | ||
| refcount.h | ||
| rights.h | ||
| signals.h | ||
| ssp_config.h | ||
| str.c | ||
| str.h | ||
This directory consists of selected files copied from the [src/libemulator] directory in the cloudabi-utils repository, with minor modifications, along with the accompanying LICENSE file from that repository.
The modifications are marked with WASMTIME_* preprocessor macros.
The files were copied at git revision 223dadc53248552db43e012c67ed08cf416a2b12 which is dated Tue Jun 25 17:22:07 2019 -0700 .