diff --git a/scwx-qt/source/scwx/qt/gl/shader_program.cpp b/scwx-qt/source/scwx/qt/gl/shader_program.cpp index 61808ad0..e1b791c0 100644 --- a/scwx-qt/source/scwx/qt/gl/shader_program.cpp +++ b/scwx-qt/source/scwx/qt/gl/shader_program.cpp @@ -144,7 +144,8 @@ bool ShaderProgram::Load( // Check for errors glGetProgramiv(p->id_, GL_LINK_STATUS, &glSuccess); - glGetProgramInfoLog(p->id_, kInfoLogBufSize, &logLength, infoLog); + glGetProgramInfoLog( + p->id_, kInfoLogBufSize, &logLength, static_cast(infoLog)); if (!glSuccess) { logger_->error("Shader program link failed: {}", infoLog);