Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libpthread One more cast.
details: https://anonhg.NetBSD.org/src/rev/906e4ceb2bd0
branches: trunk
changeset: 756703:906e4ceb2bd0
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu Jul 29 12:17:31 2010 +0000
description:
One more cast.
diffstat:
tests/lib/libpthread/t_join.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 932e391b44bc -r 906e4ceb2bd0 tests/lib/libpthread/t_join.c
--- a/tests/lib/libpthread/t_join.c Thu Jul 29 12:03:10 2010 +0000
+++ b/tests/lib/libpthread/t_join.c Thu Jul 29 12:17:31 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_join.c,v 1.2 2010/07/29 12:03:10 jruoho Exp $ */
+/* $NetBSD: t_join.c,v 1.3 2010/07/29 12:17:31 jruoho Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_join.c,v 1.2 2010/07/29 12:03:10 jruoho Exp $");
+__RCSID("$NetBSD: t_join.c,v 1.3 2010/07/29 12:17:31 jruoho Exp $");
#include <errno.h>
#include <pthread.h>
@@ -86,7 +86,7 @@
error = true;
- rv = pthread_create(&thread[i], NULL, threadfunc2, (void *)i);
+ rv = pthread_create(&thread[i], NULL, threadfunc2, NULL);
ATF_REQUIRE_EQ(rv, 0);
Home |
Main Index |
Thread Index |
Old Index