From: dooglus Date: Fri, 25 Jan 2008 14:26:17 +0000 (+0000) Subject: Avoid warnings from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;ds=sidebyside;h=ed2585fc1c1e49082c3d43b3999ef2bd963f2e86;hp=8bf2792667d2e827bc2e47ae90bc92cd1e8f7309;p=synfig.git Avoid warnings from g++ 4.3. git-svn-id: http://svn.voria.com/code@1479 1f10aa63-cdf2-0310-b900-c93c546f37ac --- 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;