diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-10-28 23:08:06 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-10-28 23:08:06 +0000 |
| commit | 86f82cce6ab491a88b2037044400e0ac7a316dd5 (patch) | |
| tree | 6197f24f8532d565631a246a25a37e7a8823a6dd /src | |
| parent | 8f79d200a0c20c1840f8f8fa9862c4f84ce72135 (diff) | |
Applied patch from STR#2428 to fix warnings on OSX/Tiger for fl_rect.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_rect.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 5f12936d9..d27ab2287 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -597,10 +597,10 @@ int Fl_Graphics_Driver::clip_box(int x, int y, int w, int h, int& X, int& Y, int else u = CGRectUnion(u, test); } } - X = u.origin.x; - Y = u.origin.y; - W = u.size.width + 1; - H = u.size.height + 1; + X = int(u.origin.x); + Y = int(u.origin.y); + W = int(u.size.width + 1); + H = int(u.size.height + 1); if(CGRectIsEmpty(u)) W = H = 0; return ! CGRectEqualToRect(arg, u); #else |
