summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-scm-spawn-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/test-scm-spawn-thread.c')
-rw-r--r--test-suite/standalone/test-scm-spawn-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/standalone/test-scm-spawn-thread.c b/test-suite/standalone/test-scm-spawn-thread.c
index b632ab0fe..aa790cdbb 100644
--- a/test-suite/standalone/test-scm-spawn-thread.c
+++ b/test-suite/standalone/test-scm-spawn-thread.c
@@ -48,7 +48,7 @@ inner_main (void *data)
thread = scm_spawn_thread (thread_main, 0, thread_handler, 0);
timeout = scm_from_unsigned_integer (time (NULL) + 10);
- return (void *) scm_join_thread_timed (thread, timeout, SCM_BOOL_F);
+ return SCM2PTR (scm_join_thread_timed (thread, timeout, SCM_BOOL_F));
}