spin_thread.c: don't assume pthread_t can be cast to int

Fix build issues for 64bit targets.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
This commit is contained in:
Andre McCurdy
2017-11-30 15:28:58 -08:00
parent 81dff2cef0
commit d282afca4f

View File

@@ -44,7 +44,7 @@ void StartThread(void *(*start_routine) (void *))
}
else
{
ParodusPrint("Thread created Successfully %d\n", (int ) threadId);
ParodusPrint("Thread created Successfully %lu\n", (unsigned long) threadId);
}
}