From e27d452c6660708f82d0842cd25981213f13c080 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 5 Mar 2016 22:57:50 +0100 Subject: [PATCH] Penis --- src/Components/Modules/ServerList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/ServerList.cpp b/src/Components/Modules/ServerList.cpp index bcd4b3b2..bb7092f1 100644 --- a/src/Components/Modules/ServerList.cpp +++ b/src/Components/Modules/ServerList.cpp @@ -610,7 +610,7 @@ namespace Components // Find first entry do { - entry = (ServerList::MasterEntry*)(data.data() + offset++); + entry = reinterpret_cast(const_cast(data.data()) + offset++); } while (!entry->HasSeparator() && !entry->IsEndToken());