test/testsem.c
changeset 1615 d5298e8f22b3
parent 1495 1dd8bf30a109
child 1659 14717b52abc0
     1.1 --- a/test/testsem.c	Fri Mar 31 06:16:20 2006 +0000
     1.2 +++ b/test/testsem.c	Fri Mar 31 06:27:47 2006 +0000
     1.3 @@ -15,7 +15,7 @@
     1.4  
     1.5  int ThreadFunc(void *data)
     1.6  {
     1.7 -	uintptr_t threadnum = (uintptr_t)data;
     1.8 +	int threadnum = (int)(uintptr_t)data;
     1.9  	while ( alive ) {
    1.10  		SDL_SemWait(sem);
    1.11  		fprintf(stderr, "Thread number %d has got the semaphore (value = %d)!\n", threadnum, SDL_SemValue(sem));