From 279e1511f5e112e9aed6b01499c4a05fee76286e Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 30 Mar 2006 12:14:23 +0000 Subject: [PATCH] Change to Andreas Jochens patch for Debian bugs #358474/#359690 git-svn-id: http://svn.voria.com/code@156 1f10aa63-cdf2-0310-b900-c93c546f37ac --- ETL/trunk/ETL/_surface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ETL/trunk/ETL/_surface.h b/ETL/trunk/ETL/_surface.h index 180b300..58a3efa 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,(int)(DEST_PEN.end_x()-DEST_PEN.x())); - h = std::min(h,(int)(DEST_PEN.end_y()-DEST_PEN.y())); + w = std::min((long)w,(long)(DEST_PEN.end_x()-DEST_PEN.x())); + h = std::min((long)h,(long)(DEST_PEN.end_y()-DEST_PEN.y())); //clip width against src width w = std::min(w,w_-x); -- 2.7.4