Fix casting of the return value integer to a pointer in the thread lib
This fixes building of the thread lib on 64 bit unix.
This commit is contained in:
parent
f02d0aa667
commit
d8d5dfe646
@ -84,7 +84,7 @@ typedef pthread_mutex_t WELS_MUTEX;
|
||||
typedef sem_t WELS_EVENT;
|
||||
|
||||
#define WELS_THREAD_ROUTINE_TYPE void *
|
||||
#define WELS_THREAD_ROUTINE_RETURN(rc) return (void*)rc;
|
||||
#define WELS_THREAD_ROUTINE_RETURN(rc) return (void*)(intptr_t)rc;
|
||||
|
||||
#endif//__GNUC__
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user