Avoid warnings from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 14:26:17 +0000 (14:26 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 14:26:17 +0000 (14:26 +0000)
git-svn-id: http://svn.voria.com/code@1479 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_std/supersample.cpp

index 62cbdc7..608a242 100644 (file)
@@ -170,7 +170,7 @@ SuperSample::accelerated_render(Context context,Surface *surface,int quality, co
                                else
                                        pen.put_value(Color::alpha());
                        }
-                       if(y&31==0 && cb)
+                       if((y&31)==0 && cb)
                        {
                                if(!stagetwo.amount_complete(y,surface->get_h()))
                                        return false;
@@ -193,7 +193,7 @@ SuperSample::accelerated_render(Context context,Surface *surface,int quality, co
                                temp_pen.dec_y(v);
                                pen.put_value(pool*multiplier);
                        }
-                       if(y&31==0 && cb)
+                       if((y&31)==0 && cb)
                        {
                                if(!stagetwo.amount_complete(y,surface->get_h()))
                                        return false;