Skip to content

Commit

Permalink
Change size_t to unsigned long
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Aug 5, 2022
1 parent 5efd766 commit e437f79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/c-api/src/wasm_c_api/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1322,8 +1322,8 @@ mod tests {

long CustomWasiStdin_destructor(
const void* env,
size_t sz,
size_t ao
unsigned long sz,
unsigned long ao
) {
(void)env;
(void)sz;
Expand All @@ -1333,9 +1333,9 @@ mod tests {

long CustomWasiStdin_onStdIn(
const void* env,
size_t sz,
size_t ao,
size_t maxwrite,
unsigned long sz,
unsigned long ao,
unsigned long maxwrite,
wasi_console_stdin_response_t* in
) {
CustomWasiStdin* ptr = (CustomWasiStdin*)env;
Expand Down

0 comments on commit e437f79

Please sign in to comment.