Commit aac1c106 authored by patrick pereira's avatar patrick pereira 🏃

msvc_gnerator: Fix PCHAR cast to QString

Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 64b91d5c
......@@ -78,7 +78,7 @@ QString MsvcGenerator::GetFile()
return QString::fromLatin1(DEFAULT_FILE);
}
return QString(line.FileName);
return QString::fromLatin1(const_cast<char *>(line.FileName));
}
int MsvcGenerator::GetLine()
......
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