This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Restore safe reinterpret_cast in Synergy GUI

  • Loading branch information...
nlyan committed Sep 9, 2016
1 parent 0568271 commit f1cd215f28b01f263189c831a0fbce9ee2578fb2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/src/SynergyLocale.cpp
@@ -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())

0 comments on commit f1cd215

Please sign in to comment.