summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-04-06 13:25:17 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-04-06 13:25:17 +0200
commitf6a93eb06093c61ee8daab9e01ed809573b991c4 (patch)
tree2c533b99d27960ff3361556172acc2168f5e7e86 /src/drivers/Quartz
parent3be89234b0f53b4ee9710be1c6a28c8199d98f0c (diff)
Remove warnings: comparison of integer expressions of different signedness [-Wsign-compare]
Diffstat (limited to 'src/drivers/Quartz')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
index ff18c2626..c638bfb79 100644
--- a/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Image_Surface_Driver.cxx
@@ -62,7 +62,7 @@ void Fl_Quartz_Image_Surface_Driver::set_current() {
pre_window = fl_window;
driver()->gc(offscreen);
fl_window = 0;
- ((Fl_Quartz_Graphics_Driver*)driver())->high_resolution( CGBitmapContextGetWidth(offscreen) > width );
+ ((Fl_Quartz_Graphics_Driver*)driver())->high_resolution( CGBitmapContextGetWidth(offscreen) > (size_t)width );
}
void Fl_Quartz_Image_Surface_Driver::translate(int x, int y) {