test/torturethread.c
changeset 1618 3b08574f4c60
parent 1615 d5298e8f22b3
child 1659 14717b52abc0
--- a/test/torturethread.c	Wed Apr 12 14:19:11 2006 +0000
+++ b/test/torturethread.c	Wed Apr 12 14:25:29 2006 +0000
@@ -83,7 +83,7 @@
 		time_for_threads_to_die[i] = 1;
 	}
 
-	for(i = NUMTHREADS-1; i >= 0; --i) {
+	for(i = 0; i < NUMTHREADS; i++) {
 		SDL_WaitThread(threads[i], NULL);
 	}
 	SDL_Quit();