diff src/thread/SDL_thread_c.h @ 3578:0d1b16ee0bca

Fixed bug #741 The thread ID is an unsigned long so it can hold pthread_t so people can do naughty things with it. I'm going to be adding additional useful thread API functions, but this should prevent crashes in people's existing code on 64-bit architectures.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 16 Dec 2009 04:48:11 +0000
parents e8f63b28947d
children 47d923feedb0
line wrap: on
line diff
--- a/src/thread/SDL_thread_c.h	Wed Dec 16 03:02:31 2009 +0000
+++ b/src/thread/SDL_thread_c.h	Wed Dec 16 04:48:11 2009 +0000
@@ -50,7 +50,7 @@
 /* This is the system-independent thread info structure */
 struct SDL_Thread
 {
-    Uint32 threadid;
+    SDL_threadID threadid;
     SYS_ThreadHandle handle;
     int status;
     SDL_error errbuf;