Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 50dcd973 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Use reinterpret_cast instead of c-style cast

parent c9955376
......@@ -270,7 +270,7 @@ QByteArray XRandR::outputEdid(xcb_randr_output_t outputId)
QByteArray edid;
if (result != nullptr) {
if (len % 128 == 0) {
edid = QByteArray((char *) result, len);
edid = QByteArray(reinterpret_cast<const char *>(result), len);
delete[] result;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment