aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/tolerance-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/test/tolerance-test.c')
-rw-r--r--pixman/test/tolerance-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/test/tolerance-test.c b/pixman/test/tolerance-test.c
index 562563026..320bb7fe0 100644
--- a/pixman/test/tolerance-test.c
+++ b/pixman/test/tolerance-test.c
@@ -347,12 +347,12 @@ main (int argc, const char *argv[])
else
{
#ifdef USE_OPENMP
-# pragma omp parallel for default(none) shared(i) private (result)
+# pragma omp parallel for default(none) reduction(|:result)
#endif
for (i = 0; i < N_TESTS; ++i)
{
if (!do_check (i))
- result = 1;
+ result |= 1;
}
}