aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-basic2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-15 07:54:39 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-15 07:54:39 +0000
commit92ed3daf013788e18a1bb339721aa76389039863 (patch)
treee352d669df04589cba266925d9b0edb08f92834e /nptl/tst-basic2.c
parent9b89567d852543f4610fcc31c6aacecb9c658b42 (diff)
downloadglibc-92ed3daf013788e18a1bb339721aa76389039863.tar
glibc-92ed3daf013788e18a1bb339721aa76389039863.tar.gz
glibc-92ed3daf013788e18a1bb339721aa76389039863.tar.bz2
glibc-92ed3daf013788e18a1bb339721aa76389039863.zip
Update.
* tst-basic1.c (do_test): Add cast to avoid warning. * tst-basic2.c (do_test): Likewise.
Diffstat (limited to 'nptl/tst-basic2.c')
-rw-r--r--nptl/tst-basic2.c2
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);