Skip to content

Use reinterpret_cast to silence cast-align warnings

In ImageOutputDev it comes directly from malloc, and malloc guarantees alignment for basic types, so we're good

In ArthurOutputDev it comes from QImage::bits that uses malloc internally, so we're good

In cairo* it comes from cairo_image_surface_get_data that comes from pixman_image_get_data that returns a uint32_t * so we're only going to the original type alignment

Merge request reports