Commit f012610b authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

indicatorhelper: fix incompatibility warning for PROCESSENTRY object

parent e8563388
Pipeline #63237 passed with stage
in 4 minutes
......@@ -67,7 +67,7 @@ bool IndicatorHelper::terminateProcess(const QString &processName, const QUrl &i
do
{
if (QString::fromWCharArray(pe32.szExeFile) == processName) {
if (QString::fromWCharArray((wchar_t *)pe32.szExeFile) == processName) {
hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, pe32.th32ProcessID);
if (hProcess == NULL) {
......
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