[broadway] Fix warning in demo

This commit is contained in:
Alexander Larsson 2010-11-24 21:40:05 +01:00
parent 1bc7bc5542
commit 5a9f7a1e35

View File

@ -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;