0 as *mut _ => null_mut()
(cherry picked from commit 6a345c87760f4c657bd62c62308e33e266769087)
This commit is contained in:
parent
48af0f9e41
commit
7ce6900bfd
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ pub fn gc_register_my_thread() -> Result<()> {
|
|||
return Ok(());
|
||||
}
|
||||
let mut sb: raw::GC_stack_base = raw::GC_stack_base {
|
||||
mem_base: 0 as *mut _,
|
||||
mem_base: null_mut(),
|
||||
};
|
||||
let r = raw::GC_get_stack_base(&mut sb);
|
||||
if r as u32 != raw::GC_SUCCESS {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue