summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/WinAPI')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
index df6906bb4..41cab4604 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
@@ -486,5 +486,5 @@ int Fl_WinAPI_Screen_Driver::screen_num_unscaled(int x, int y)
float Fl_WinAPI_Screen_Driver::base_scale(int numscreen) {
- return dpi[numscreen][0] / 96.;
+ return float(dpi[numscreen][0] / 96.);
}