summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-03-28 21:07:59 +0000
committerdeischen <deischen@FreeBSD.org>2006-03-28 21:07:59 +0000
commit776daae39d7c849bb2d52939910c656ef0a0ba13 (patch)
treef6b8c06076ff66f442490ef26da8db35dd43b88c /lib/libpthread
parent8aaa7c780cccd1673e8bda5bb9720c866af7cc50 (diff)
downloadFreeBSD-src-776daae39d7c849bb2d52939910c656ef0a0ba13.zip
FreeBSD-src-776daae39d7c849bb2d52939910c656ef0a0ba13.tar.gz
Use the correct type for and argument. Recent changes to namespace.h
exposed this bug. Reported by: kris
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_barrier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_barrier.c b/lib/libpthread/thread/thr_barrier.c
index ed54a99..c8be343 100644
--- a/lib/libpthread/thread/thr_barrier.c
+++ b/lib/libpthread/thread/thr_barrier.c
@@ -65,7 +65,7 @@ _pthread_barrier_destroy(pthread_barrier_t *barrier)
int
_pthread_barrier_init(pthread_barrier_t *barrier,
- const pthread_barrierattr_t *attr, int count)
+ const pthread_barrierattr_t *attr, unsigned count)
{
pthread_barrier_t bar;
int ret;
OpenPOWER on IntegriCloud