[gtk+/broadway: 50/71] [broadway] Fix warning in demo



commit 5a9f7a1e35ed6678399d74d1580bf59e80c3d176
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Nov 24 21:40:05 2010 +0100

    [broadway] Fix warning in demo

 gdk/broadway/broadway-demo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/broadway-demo.c b/gdk/broadway/broadway-demo.c
index 959c719..29f8929 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]