Mercurial > sdl-ios-xcode
diff test/torturethread.c @ 1495:1dd8bf30a109
Might have fixed 64-bit issues. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 11 Mar 2006 22:54:12 +0000 |
parents | d93862a3d821 |
children | d5298e8f22b3 |
line wrap: on
line diff
--- 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 ) {