diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-15 07:54:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-15 07:54:39 +0000 |
commit | 92ed3daf013788e18a1bb339721aa76389039863 (patch) | |
tree | e352d669df04589cba266925d9b0edb08f92834e /nptl/tst-basic2.c | |
parent | 9b89567d852543f4610fcc31c6aacecb9c658b42 (diff) | |
download | glibc-92ed3daf013788e18a1bb339721aa76389039863.zip glibc-92ed3daf013788e18a1bb339721aa76389039863.tar.gz glibc-92ed3daf013788e18a1bb339721aa76389039863.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-basic2.c b/nptl/tst-basic2.c index 9bc2060..b9478c0 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); |