Change size_t to unsigned long

This commit is contained in:
Felix Schütt
2022-08-03 10:35:43 +02:00
parent aa27a66fc4
commit 2ff8d3431b

View File

@@ -1322,8 +1322,8 @@ mod tests {
long CustomWasiStdin_destructor( long CustomWasiStdin_destructor(
const void* env, const void* env,
size_t sz, unsigned long sz,
size_t ao unsigned long ao
) { ) {
(void)env; (void)env;
(void)sz; (void)sz;
@@ -1333,9 +1333,9 @@ mod tests {
long CustomWasiStdin_onStdIn( long CustomWasiStdin_onStdIn(
const void* env, const void* env,
size_t sz, unsigned long sz,
size_t ao, unsigned long ao,
size_t maxwrite, unsigned long maxwrite,
wasi_console_stdin_response_t* in wasi_console_stdin_response_t* in
) { ) {
CustomWasiStdin* ptr = (CustomWasiStdin*)env; CustomWasiStdin* ptr = (CustomWasiStdin*)env;