Normalize unsigned int to just unsigned.
This commit is contained in:
parent
e09e6e587b
commit
e28851b8e9
8 changed files with 13 additions and 17 deletions
|
@ -332,7 +332,7 @@ empth_threadMain(void *pvData)
|
|||
|
||||
/* seed the rand() function */
|
||||
time(&now);
|
||||
srand(now ^ (unsigned int)pThread);
|
||||
srand(now ^ (unsigned)pThread);
|
||||
|
||||
/* Switch to this thread context */
|
||||
loc_RunThisThread();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue