diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_barrierattr_getpshared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_barrierattr_getpshared.c b/src/thread/pthread_barrierattr_getpshared.c index de970768..8428bbec 100644 --- a/src/thread/pthread_barrierattr_getpshared.c +++ b/src/thread/pthread_barrierattr_getpshared.c @@ -2,6 +2,6 @@ int pthread_barrierattr_getpshared(const pthread_barrierattr_t *a, int *pshared) { - *pshared = *a; + *pshared = !!*a; return 0; } |