about summary refs log tree commit diff stats
path: root/src/libtools/threads32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools/threads32.c')
-rwxr-xr-xsrc/libtools/threads32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/threads32.c b/src/libtools/threads32.c
index c72deca7..92e31240 100755
--- a/src/libtools/threads32.c
+++ b/src/libtools/threads32.c
@@ -369,7 +369,7 @@ GO(29)
 static uintptr_t my32_cleanup_routine_fct_##A = 0;  				\
 static void my32_cleanup_routine_##A(void* a)    					\
 {                                       							\
-    RunFunctionFmt(my32_cleanup_routine_fct_##A, "p", to_ptrv(a));	\
+    RunFunctionFmt(my32_cleanup_routine_fct_##A, "p", a);			\
 }
 SUPER()
 #undef GO
@@ -392,7 +392,7 @@ static void* findcleanup_routineFct(void* fct)
 static uintptr_t my32_key_destructor_fct_##A = 0;  					\
 static void my32_key_destructor_##A(void* a)    					\
 {                                       							\
-    RunFunctionFmt(my32_key_destructor_fct_##A, "p", to_ptrv(a));	\
+    RunFunctionFmt(my32_key_destructor_fct_##A, "p", a);			\
 }
 SUPER()
 #undef GO