test/torturethread.c
changeset 1495 1dd8bf30a109
parent 1154 d93862a3d821
child 1615 d5298e8f22b3
--- a/test/torturethread.c	Sat Mar 11 20:16:50 2006 +0000
+++ b/test/torturethread.c	Sat Mar 11 22:54:12 2006 +0000
@@ -31,7 +31,7 @@
 	SDL_Thread *sub_threads[NUMTHREADS];
 	int flags[NUMTHREADS];
 	int i;
-	int tid = (int ) data;
+	uintptr_t tid = (uintptr_t)data;
 
 	fprintf(stderr, "Creating Thread %d\n", tid);
 
@@ -59,7 +59,7 @@
 int main(int argc, char *argv[])
 {
 	SDL_Thread *threads[NUMTHREADS];
-	int i;
+	uintptr_t i;
 
 	/* Load the SDL library */
 	if ( SDL_Init(0) < 0 ) {