diff --git a/tests/s-thread.c b/tests/s-thread.c index df834e6b7..9e6b79ff4 100644 --- a/tests/s-thread.c +++ b/tests/s-thread.c @@ -23,7 +23,7 @@ static int b(void *arg) static int c(void *arg) { - return *(int *)arg; + return *(long *)arg; } static void *foo(void *arg)