[cairo] [PATCH 2/2] _pixman_run_fast_path: typo

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 28 02:12:25 PDT 2009


This is one example of a compiler warning that was lost admit the build
noise.

The error here is that in a list of required conditions we used ';'
instead of '&&' with the result of continuing to use the fast-path even if
we had a wide mask.
---
 pixman/pixman-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pixman/pixman-utils.c b/pixman/pixman-utils.c
index 961c6c6..03a1e7f 100644
--- a/pixman/pixman-utils.c
+++ b/pixman/pixman-utils.c
@@ -677,7 +677,7 @@ _pixman_run_fast_path (const pixman_fast_path_t *paths,
 	                !mask->bits.write_func &&
 			 mask->common.filter != PIXMAN_FILTER_CONVOLUTION &&
 			 mask->common.repeat != PIXMAN_REPEAT_PAD &&
-			 mask->common.repeat != PIXMAN_REPEAT_REFLECT;
+			 mask->common.repeat != PIXMAN_REPEAT_REFLECT &&
 	                !PIXMAN_FORMAT_IS_WIDE (src->bits.format);
     }
 
-- 
1.6.3.3



More information about the cairo mailing list