test/torturethread.c
changeset 1495 1dd8bf30a109
parent 1154 d93862a3d821
child 1615 d5298e8f22b3
     1.1 --- a/test/torturethread.c	Sat Mar 11 20:16:50 2006 +0000
     1.2 +++ b/test/torturethread.c	Sat Mar 11 22:54:12 2006 +0000
     1.3 @@ -31,7 +31,7 @@
     1.4  	SDL_Thread *sub_threads[NUMTHREADS];
     1.5  	int flags[NUMTHREADS];
     1.6  	int i;
     1.7 -	int tid = (int ) data;
     1.8 +	uintptr_t tid = (uintptr_t)data;
     1.9  
    1.10  	fprintf(stderr, "Creating Thread %d\n", tid);
    1.11  
    1.12 @@ -59,7 +59,7 @@
    1.13  int main(int argc, char *argv[])
    1.14  {
    1.15  	SDL_Thread *threads[NUMTHREADS];
    1.16 -	int i;
    1.17 +	uintptr_t i;
    1.18  
    1.19  	/* Load the SDL library */
    1.20  	if ( SDL_Init(0) < 0 ) {