summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLucas Baudin <xapantu@gmail.com>2011-09-29 19:23:04 +0200
committerMichael Meeks <michael.meeks@suse.com>2011-10-25 13:41:49 +0100
commit6da6ddcf0393f92eadf4d2db331b1514c823ec7e (patch)
treeea16e7c88d1b9ad9d5804f7764f419ec3ff47181 /vcl
parent987651a7fc5908fe39046e215bd7ffa2e43049df (diff)
Fix compilation in gtk3salnativewidgets
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index ae655dd60957..2dc64fca13fa 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -187,8 +187,8 @@ void GtkSalGraphics::copyArea( long nDestX, long nDestY,
RegionHandle aHnd = m_aClipRegion.BeginEnumRects();
while( m_aClipRegion.GetNextEnumRect( aHnd, aClipRect ) )
{
- cairo_rectangle_int_t aRect = { aClipRect.Left(), aClipRect.Top(),
- aClipRect.Right(), aClipRect.Bottom() };
+ cairo_rectangle_int_t aRect = { (int)aClipRect.Left(), (int)aClipRect.Top(),
+ (int)aClipRect.Right(), (int)aClipRect.Bottom() };
cairo_region_union_rectangle( clip_region, &aRect );
}
m_aClipRegion.EndEnumRects (aHnd);