Restore safe reinterpret_cast in Synergy GUI

This commit is contained in:
Andrew Nelless 2016-09-09 16:54:06 +01:00
parent 0568271506
commit f1cd215f28
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ SynergyLocale::SynergyLocale()
void SynergyLocale::loadLanguages()
{
QResource resource(":/res/lang/Languages.xml");
QByteArray bytes(static_cast<const char*>(resource.data()), resource.size());
QByteArray bytes(reinterpret_cast<const char*>(resource.data()), resource.size());
QXmlStreamReader xml(bytes);
while (!xml.atEnd())