about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-07-11 19:40:53 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-07-11 19:45:25 -0700
commit2cd9d7bc88dc4e7c2a1fd25325eb95ff781395b7 (patch)
treeac975054ab187f55981879d719de4f423dcbd9f4 /src/rt/rust_builtin.cpp
parente388a80c234d628c4d1fab77dc3e3f2c04cbefc5 (diff)
downloadrust-2cd9d7bc88dc4e7c2a1fd25325eb95ff781395b7.tar.gz
rust-2cd9d7bc88dc4e7c2a1fd25325eb95ff781395b7.zip
Expand ctypes warnings to warn about *int/*uint
Also ends up fixing one case in libstd
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 17f36e810cd..e6a3ad4394a 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -774,7 +774,7 @@ rust_register_exit_function(spawn_fn runner, fn_env_pair *f) {
     task->kernel->register_exit_function(runner, f);
 }
 
-extern "C" void *
+extern "C" intptr_t*
 rust_get_global_data_ptr() {
     rust_task *task = rust_get_current_task();
     return &task->kernel->global_data;