fltk/src/drivers/GDI
Albrecht Schlosser 34f465add2 Windows: fix compiler warning [-Wstrict-aliasing]
In function ‘void innards(...)’:
src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx:132:23:
dereferencing type-punned pointer will break strict-aliasing rules
  BITMAPINFO &bmi = *((BITMAPINFO*)bmibuffer);
                     ~^~~~~~~~~~~~~~~~~~~~~~~

Found with gcc 12 (MinGW cross compiler)

Also: use correct sizes (sizeof) rather than hardcoded values.
2024-10-31 18:38:55 +01:00
..
Fl_Font.H
Fl_GDI_Copy_Surface_Driver.cxx
Fl_GDI_Copy_Surface_Driver.H
Fl_GDI_Graphics_Driver_arci.cxx
Fl_GDI_Graphics_Driver_color.cxx
Fl_GDI_Graphics_Driver_font.cxx
Fl_GDI_Graphics_Driver_image.cxx Windows: fix compiler warning [-Wstrict-aliasing] 2024-10-31 18:38:55 +01:00
Fl_GDI_Graphics_Driver_line_style.cxx Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-27 16:52:20 +02:00
Fl_GDI_Graphics_Driver_rect.cxx Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-27 16:52:20 +02:00
Fl_GDI_Graphics_Driver_vertex.cxx Fix border case of use of fl_end_loop under Windows with USE_GDIPLUS=1 2024-07-19 13:48:18 +02:00
Fl_GDI_Graphics_Driver.cxx Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-27 16:52:20 +02:00
Fl_GDI_Graphics_Driver.H Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-27 16:52:20 +02:00
Fl_GDI_Image_Surface_Driver.cxx Fix a typo, trailing whitespace, and dependencies 2023-12-21 14:03:04 +01:00
Fl_GDI_Image_Surface_Driver.H New member function Fl_Image_Surface::mask(Fl_RGB_Image*) 2023-12-04 12:34:44 +01:00