diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 10:31:43 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 10:31:43 +0000 |
| commit | 4079e7590b6307e7811671388291577dbeef17f6 (patch) | |
| tree | 4181acf2312230e5f4abb2f65e70f596f1195f68 /src/Fl_Shared_Image.cxx | |
| parent | 94f0278d4771c816f3303efd2e8fa10fc6c41b7a (diff) | |
Fix MSWindows compile issues.
Fixed a few warnings and a compilation issue introduced from previous reorganization.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Shared_Image.cxx')
| -rw-r--r-- | src/Fl_Shared_Image.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx index 757c51b42..fa9a03c8e 100644 --- a/src/Fl_Shared_Image.cxx +++ b/src/Fl_Shared_Image.cxx @@ -390,8 +390,8 @@ void Fl_Shared_Image::scale(int width, int height, int proportional, int can_exp if (fw < 1) fw = 1; if (fh < 1) fh = 1; } - w(image_->w() / fw); - h(image_->h() / fh); + w((int)(image_->w() / fw)); + h((int)(image_->h() / fh)); } |
