This commit is contained in:
momo5502 2016-03-05 22:57:50 +01:00
parent 68af5e71c2
commit e27d452c66

View File

@ -610,7 +610,7 @@ namespace Components
// Find first entry // Find first entry
do do
{ {
entry = (ServerList::MasterEntry*)(data.data() + offset++); entry = reinterpret_cast<ServerList::MasterEntry*>(const_cast<char*>(data.data()) + offset++);
} }
while (!entry->HasSeparator() && !entry->IsEndToken()); while (!entry->HasSeparator() && !entry->IsEndToken());