about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-13 16:06:56 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-14 11:24:09 -0800
commit214cdd0deeab903df5b8b1b4b853a6f6f5e6cb7d (patch)
treeb25007bdf44f0be3360d8b5d8feac831521bad6d /src/rt/rust_builtin.cpp
parent78034aa22aaca8d2e416752059a2d8e2a0d30768 (diff)
downloadrust-214cdd0deeab903df5b8b1b4b853a6f6f5e6cb7d.tar.gz
rust-214cdd0deeab903df5b8b1b4b853a6f6f5e6cb7d.zip
rustc: Translate crust functions
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 0b4ce047997..918630b18f6 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -657,8 +657,8 @@ rust_dbg_lock_signal(lock_and_signal *lock) {
 typedef void *(*dbg_callback)(void*);
 
 extern "C" CDECL void *
-rust_dbg_call(dbg_callback *cb, void *data) {
-    return (*cb)(data);
+rust_dbg_call(dbg_callback cb, void *data) {
+    return cb(data);
 }
 
 //