From ed2585fc1c1e49082c3d43b3999ef2bd963f2e86 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 14:26:17 +0000 Subject: [PATCH] Avoid warnings from g++ 4.3. git-svn-id: http://svn.voria.com/code@1479 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/lyr_std/supersample.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-core/trunk/src/modules/lyr_std/supersample.cpp b/synfig-core/trunk/src/modules/lyr_std/supersample.cpp index 62cbdc7..608a242 100644 --- a/synfig-core/trunk/src/modules/lyr_std/supersample.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/supersample.cpp @@ -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; -- 2.7.4