Skip to content
  • Albert Astals Cid's avatar
    Use reinterpret_cast to silence cast-align warnings · 5a72f3cd
    Albert Astals Cid authored
    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
    5a72f3cd
Validating GitLab CI configuration… Learn more