about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2010-10-18 17:00:28 -0700
committergiles@thaumas.net <giles@xiph.org>2010-10-28 10:13:30 -0700
commit3b3cd550d4320285e92880f3b3f2a37a22da1b3e (patch)
tree6315b0e2de71df510087f7b840467dd2fb4ee6c0 /src/rt/rust_task.cpp
parent679dca854167cf3004f5d9f3d8a2e81921e5e2cc (diff)
downloadrust-3b3cd550d4320285e92880f3b3f2a37a22da1b3e.tar.gz
rust-3b3cd550d4320285e92880f3b3f2a37a22da1b3e.zip
Cast NULL to uintptr_t when calling rust_task::start().
On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile
with the following error:

  rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’

The explicit cast works around the error.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions