src/thread/pthread/SDL_systhread.c
changeset 6604 70292a6d7dca
parent 6600 f16fc9564de4
child 6605 59132ac5df74
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Tue Oct 23 17:40:19 2012 -0700
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Tue Oct 23 17:46:57 2012 -0700
     1.3 @@ -95,7 +95,7 @@
     1.4  #if ( (__MACOSX__ && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1060)) || \
     1.5        (__IPHONEOS__ && (__IPHONE_OS_VERSION_MAX_ALLOWED >= 30200)) )
     1.6          int (*dynamic_pthread_setname_np)(const char*);
     1.7 -        *reinterpret_cast<void**>(&dynamic_pthread_setname_np) = dlsym(RTLD_DEFAULT, "pthread_setname_np");
     1.8 +        *(void**)(&dynamic_pthread_setname_np) = dlsym(RTLD_DEFAULT, "pthread_setname_np");
     1.9          if ( dynamic_pthread_setname_np )
    1.10              dynamic_pthread_setname_np( name );
    1.11  #elif HAVE_PTHREAD_SETNAME_NP