1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
2002-08-25 08:44:43 +00:00
parent 5a47e7f2a8
commit 6d497bbef7
31 changed files with 111 additions and 89 deletions

View File

@ -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)