commit | 5a72f3cd65d4c9481b0b5b2535e51057c7b9b291 | [log] [tgz] |
---|---|---|
author | Albert Astals Cid <aacid@kde.org> | Wed Feb 06 18:31:55 2019 +0100 |
committer | Albert Astals Cid <aacid@kde.org> | Wed Feb 06 18:31:55 2019 +0100 |
tree | c1c2bdfb419c6adb3643eedc8499aaf90518e39b | |
parent | ff1ab1b0c9b265df1fd07380cd78ca0daa63d642 [diff] |
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