From d282afca4fa2becb7941e5ff6881b4f5e544ac8a Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Thu, 30 Nov 2017 15:28:58 -0800 Subject: [PATCH] spin_thread.c: don't assume pthread_t can be cast to int Fix build issues for 64bit targets. Signed-off-by: Andre McCurdy --- src/spin_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spin_thread.c b/src/spin_thread.c index 9249fa5..e9e7a2e 100644 --- a/src/spin_thread.c +++ b/src/spin_thread.c @@ -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); } }