Use the correct type for and argument. Recent changes to namespace.h
exposed this bug. Reported by: kris
This commit is contained in:
parent
056b9d29b6
commit
2445cd7c11
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user