diff options
Diffstat (limited to 'nptl/tst-basic2.c')
-rw-r--r-- | nptl/tst-basic2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-basic2.c b/nptl/tst-basic2.c index 9bc20602d6..b9478c0812 100644 --- a/nptl/tst-basic2.c +++ b/nptl/tst-basic2.c @@ -64,7 +64,7 @@ do_test (void) exit (1); } - if (pthread_create (&th[i], NULL, tf, (void *) i) != 0) + if (pthread_create (&th[i], NULL, tf, (void *) (long int) i) != 0) { puts ("create failed"); exit (1); |