diff options
| -rw-r--r-- | doc/tutorial-ffi.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial-ffi.md b/doc/tutorial-ffi.md index 371e0e2f3e4..c4fea5e48c9 100644 --- a/doc/tutorial-ffi.md +++ b/doc/tutorial-ffi.md @@ -303,7 +303,7 @@ conventions. Rust provides a way to tell the compiler which convention to use: #[cfg(target_os = "win32", target_arch = "x86")] #[link_name = "kernel32"] extern "stdcall" { - fn SetEnvironmentVariableA(n: *u8, v: *u8) -> int; + fn SetEnvironmentVariableA(n: *u8, v: *u8) -> std::libc::c_int; } ~~~~ |
