Remove some redundant casts.
This commit is contained in:
parent
4f59fc9967
commit
8585ec930f
7 changed files with 13 additions and 14 deletions
|
@ -481,8 +481,7 @@ empth_create(int prio, void (*entry)(void *), int size, int flags,
|
|||
if (size < loc_MIN_THREAD_STACK)
|
||||
size = loc_MIN_THREAD_STACK;
|
||||
|
||||
pThread->ulThreadID = _beginthread(empth_threadMain, size,
|
||||
(void *)pThread);
|
||||
pThread->ulThreadID = _beginthread(empth_threadMain, size, pThread);
|
||||
if (pThread->ulThreadID == -1) {
|
||||
logerror("can not create thread: %s (%s): %s", name, desc,
|
||||
strerror(errno));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue