projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #1349630: This fixes the etl side of the synfig amd64 FTBFS
[synfig.git]
/
ETL
/
trunk
/
ETL
/
_surface.h
diff --git
a/ETL/trunk/ETL/_surface.h
b/ETL/trunk/ETL/_surface.h
index
39c1141
..
180b300
100644
(file)
--- a/
ETL/trunk/ETL/_surface.h
+++ b/
ETL/trunk/ETL/_surface.h
@@
-274,8
+274,8
@@
public:
}
//clip width against dest width
}
//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);
//clip width against src width
w = std::min(w,w_-x);