Skip to content

Commit

Permalink
Use int64_t / uintptr_t
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Aug 5, 2022
1 parent e437f79 commit 95ee7cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/c-api/src/wasm_c_api/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1320,22 +1320,22 @@ mod tests {
int invocation;
} CustomWasiStdin;

long CustomWasiStdin_destructor(
int64_t CustomWasiStdin_destructor(
const void* env,
unsigned long sz,
unsigned long ao
uintptr_t sz,
uintptr_t ao
) {
(void)env;
(void)sz;
(void)ao;
return 0;
}

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

0 comments on commit 95ee7cf

Please sign in to comment.