From: dooglus Date: Fri, 25 Jan 2008 14:22:57 +0000 (+0000) Subject: Fix bugs found by g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8bf2792667d2e827bc2e47ae90bc92cd1e8f7309;p=synfig.git Fix bugs found by g++ 4.3. git-svn-id: http://svn.voria.com/code@1478 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_std/warp.cpp b/synfig-core/trunk/src/modules/lyr_std/warp.cpp index ec56596..c41fe04 100644 --- a/synfig-core/trunk/src/modules/lyr_std/warp.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/warp.cpp @@ -710,7 +710,7 @@ Warp::accelerated_render(Context context,Surface *surface,int quality, const Ren else (*surface)[y][x]=source.cubic_sample(u,v); } - if(y&31==0 && cb) + if((y&31)==0 && cb) { if(!stagetwo.amount_complete(y,surface->get_h())) return false; @@ -744,7 +744,7 @@ Warp::accelerated_render(Context context,Surface *surface,int quality, const Ren else (*surface)[y][x]=source.linear_sample(u,v); } - if(y&31==0 && cb) + if((y&31)==0 && cb) { if(!stagetwo.amount_complete(y,surface->get_h())) return false; @@ -778,7 +778,7 @@ Warp::accelerated_render(Context context,Surface *surface,int quality, const Ren //pen.set_value(source[v][u]); (*surface)[y][x]=source[floor_to_int(v)][floor_to_int(u)]; } - if(y&31==0 && cb) + if((y&31)==0 && cb) { if(!stagetwo.amount_complete(y,surface->get_h())) return false;