From 5a9f7a1e35ed6678399d74d1580bf59e80c3d176 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 24 Nov 2010 21:40:05 +0100 Subject: [PATCH] [broadway] Fix warning in demo --- gdk/broadway/broadway-demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/broadway/broadway-demo.c b/gdk/broadway/broadway-demo.c index 959c719384..29f89290bf 100644 --- a/gdk/broadway/broadway-demo.c +++ b/gdk/broadway/broadway-demo.c @@ -33,7 +33,7 @@ diff_surfaces (cairo_surface_t *surface, for (x = 0; x < w; x++) { - if (*line & 0xffffff == *old_line & 0xffffff) + if ((*line & 0xffffff) == (*old_line & 0xffffff)) *old_line = 0; else *old_line = *line | 0xff000000;