diff options
author | Sam Lantinga <slouken@libsdl.org> | 2006-03-11 22:54:12 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2006-03-11 22:54:12 +0000 |
commit | 8b92cc6af9a5674709d18cc909300ac7b841b46d (patch) | |
tree | 28b1abf057a6593a74157bd80df24870f792f5ff /test/torturethread.c | |
parent | 4e8707a1cd079c14f83de7bd1e19ac362baaa3d7 (diff) | |
download | sdl-8b92cc6af9a5674709d18cc909300ac7b841b46d.tar.gz |
Might have fixed 64-bit issues. :)
Diffstat (limited to 'test/torturethread.c')
-rw-r--r-- | test/torturethread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/torturethread.c b/test/torturethread.c index b12d9cf51..d85b48f0e 100644 --- a/test/torturethread.c +++ b/test/torturethread.c @@ -31,7 +31,7 @@ int ThreadFunc(void *data) { 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 ThreadFunc(void *data) { int main(int argc, char *argv[]) { SDL_Thread *threads[NUMTHREADS]; - int i; + uintptr_t i; /* Load the SDL library */ if ( SDL_Init(0) < 0 ) { |