common/color: Get rid of undefined behavior
Gets rid of type punning via reinterpret_cast within functions. Instead, we use memcpy to transfer the contents across types.
Loading
Please register or sign in to comment
Gets rid of type punning via reinterpret_cast within functions. Instead, we use memcpy to transfer the contents across types.