Copilot AI suggestions to comply with LLVM 19

This commit is contained in:
Reg Tiangha 2024-03-21 07:55:24 -06:00
parent 69eba0d295
commit 0500b993e0
No known key found for this signature in database
GPG Key ID: 00D437798B1C2970
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ QString GetOpenGLRenderer() {
QOpenGLContext context;
if (context.create()) {
context.makeCurrent(&surface);
return QString::fromUtf8(context.functions()->glGetString(GL_RENDERER));
return QString::fromUtf8(reinterpret_cast<const char*>(context.functions()->glGetString(GL_RENDERER)));
} else {
return QStringLiteral("");
}