mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
typo in type of variable
This commit is contained in:
@@ -82,7 +82,7 @@ skynet_current_handle(void) {
|
|||||||
void * handle = pthread_getspecific(G_NODE.handle_key);
|
void * handle = pthread_getspecific(G_NODE.handle_key);
|
||||||
return (uint32_t)(uintptr_t)handle;
|
return (uint32_t)(uintptr_t)handle;
|
||||||
} else {
|
} else {
|
||||||
uintptr_t v = (uint32_t)(-THREAD_MAIN);
|
uint32_t v = (uint32_t)(-THREAD_MAIN);
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user