std: Fix transmute error on win64
This commit is contained in:
parent
e1091fd412
commit
561277d791
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user