diff test/testsem.c @ 1615:d5298e8f22b3

Ugh, more 64-bit cleanup
author Sam Lantinga <slouken@libsdl.org>
date Fri, 31 Mar 2006 06:27:47 +0000
parents 1dd8bf30a109
children 14717b52abc0
line wrap: on
line diff
--- a/test/testsem.c	Fri Mar 31 06:16:20 2006 +0000
+++ b/test/testsem.c	Fri Mar 31 06:27:47 2006 +0000
@@ -15,7 +15,7 @@
 
 int ThreadFunc(void *data)
 {
-	uintptr_t threadnum = (uintptr_t)data;
+	int threadnum = (int)(uintptr_t)data;
 	while ( alive ) {
 		SDL_SemWait(sem);
 		fprintf(stderr, "Thread number %d has got the semaphore (value = %d)!\n", threadnum, SDL_SemValue(sem));