diff options
| author | Corey Richardson <corey@octayn.net> | 2014-08-14 15:49:26 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-08-20 21:02:24 -0400 |
| commit | cf5d28083dc25ae9a395b7e55e98af9c621574dc (patch) | |
| tree | 80d4722b567eea10449c921dfb9d0d3a1d83261b /src/libgreen/stack.rs | |
| parent | 2dc2ac1e6b382b8c658071f61c3f95ae444dcc16 (diff) | |
| download | rust-cf5d28083dc25ae9a395b7e55e98af9c621574dc.tar.gz rust-cf5d28083dc25ae9a395b7e55e98af9c621574dc.zip | |
libgreen: use FFI-safe types
Diffstat (limited to 'src/libgreen/stack.rs')
| -rw-r--r-- | src/libgreen/stack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgreen/stack.rs b/src/libgreen/stack.rs index 601758f8a25..eea5105de8c 100644 --- a/src/libgreen/stack.rs +++ b/src/libgreen/stack.rs @@ -68,7 +68,7 @@ impl Stack { // FIXME: Using the FFI to call a C macro. Slow stk.valgrind_id = unsafe { - rust_valgrind_stack_register(stk.start(), stk.end()) + rust_valgrind_stack_register(stk.start() as *const libc::uintptr_t, stk.end() as *const libc::uintptr_t) }; return stk; } |
