From 8bf2792667d2e827bc2e47ae90bc92cd1e8f7309 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 14:22:57 +0000 Subject: [PATCH] Fix bugs found by g++ 4.3. git-svn-id: http://svn.voria.com/code@1478 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/lyr_std/warp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.7.4