From 6d497bbef7f18e37f862c2eaa1820f87546936e1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 25 Aug 2002 08:44:43 +0000 Subject: Update. * libio/tst-freopen.c (main): Use correct formats for __LINE__. * libio/tst-mmap-setvbuf.c (main): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap-eofsync.c (do_test): Use correct format in error message. * libio/tst-mmap-fflushsync.c (do_test): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise. --- linuxthreads/tst-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/tst-context.c') diff --git a/linuxthreads/tst-context.c b/linuxthreads/tst-context.c index 9066e837e2..5c3272a4fb 100644 --- a/linuxthreads/tst-context.c +++ b/linuxthreads/tst-context.c @@ -98,7 +98,7 @@ main (void) } for (n = 0; n < N; ++n) - if (pthread_create (&th[n], NULL, threadfct, (void *) n) != 0) + if (pthread_create (&th[n], NULL, threadfct, (void *) (long int) n) != 0) error (EXIT_FAILURE, errno, "cannot create all threads"); for (n = 0; n < N; ++n) -- cgit v1.2.3