std: Fix transmute error on win64

This commit is contained in:
klutzy 2013-11-24 05:48:45 +09:00
parent e1091fd412
commit 561277d791

View File

@ -48,7 +48,7 @@ impl Thread {
let f: ~proc() = cast::transmute(trampoline);
(*f)();
}
unsafe { cast::transmute(0) }
unsafe { cast::transmute(0 as rust_thread_return) }
}
let native = native_thread_create(thread_start, ~main);