Remove some redundant casts.

This commit is contained in:
Markus Armbruster 2005-06-12 08:17:13 +00:00
parent 4f59fc9967
commit 8585ec930f
7 changed files with 13 additions and 14 deletions

View file

@ -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));