From 72b8054ecc4c53cb9a138266fd267f2334f32a37 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 28 Dec 2022 09:32:01 +0100 Subject: Fix compiler warnings on Windows with mingw-w64 CMAKE_CXX_STANDARD=20 (#615) --- src/drivers/PostScript/Fl_PostScript.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/PostScript') diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index 8e6dff87f..3e5ec3d27 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -673,7 +673,7 @@ int Fl_PostScript_Graphics_Driver::start_postscript (int pagecount, left_margin = 12; top_margin = 12; } - page_format_ = (enum Fl_Paged_Device::Page_Format)(format | layout); + page_format_ = (enum Fl_Paged_Device::Page_Format)((int)format | (int)layout); if (layout & Fl_Paged_Device::LANDSCAPE){ ph_ = Fl_Paged_Device::page_formats[format].width; pw_ = Fl_Paged_Device::page_formats[format].height; -- cgit v1.2.3