summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-03 16:15:43 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-03 16:15:43 +0100
commitd832ab742a9247b928c530a91d195410b17387b4 (patch)
treeec438d216717bc1f5b37ac378948719ee4ef6ebf /src/drivers/WinAPI
parent2e315e5424d2e54da14ca8f27a4392a3d6be8083 (diff)
Fix Visual Studio compiler warnings
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.);
}