From: pabs Date: Sun, 26 Mar 2006 07:07:20 +0000 (+0000) Subject: Fix #1349630: This fixes the etl side of the synfig amd64 FTBFS X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0ff680f220a26f171851ab3bf04df1a154cc95f9;p=synfig.git Fix #1349630: This fixes the etl side of the synfig amd64 FTBFS git-svn-id: http://svn.voria.com/code@154 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/ETL/_surface.h b/ETL/trunk/ETL/_surface.h index 39c1141..180b300 100644 --- a/ETL/trunk/ETL/_surface.h +++ b/ETL/trunk/ETL/_surface.h @@ -274,8 +274,8 @@ public: } //clip width against dest width - w = std::min(w,DEST_PEN.end_x()-DEST_PEN.x()); - h = std::min(h,DEST_PEN.end_y()-DEST_PEN.y()); + w = std::min(w,(int)(DEST_PEN.end_x()-DEST_PEN.x())); + h = std::min(h,(int)(DEST_PEN.end_y()-DEST_PEN.y())); //clip width against src width w = std::min(w,w_-x);