diff options
author | Lucas Baudin <xapantu@gmail.com> | 2011-09-29 19:23:04 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:49 +0100 |
commit | 6da6ddcf0393f92eadf4d2db331b1514c823ec7e (patch) | |
tree | ea16e7c88d1b9ad9d5804f7764f419ec3ff47181 /vcl/unx/gtk3 | |
parent | 987651a7fc5908fe39046e215bd7ffa2e43049df (diff) |
Fix compilation in gtk3salnativewidgets
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 4 |
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); |