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

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;
}
......
Supports Markdown
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