Fix warning

This commit is contained in:
momo5502 2021-04-10 12:29:50 +02:00
parent 5e817216f7
commit 5b9d4fe82a

View File

@ -70,7 +70,7 @@ namespace server_list
const auto i = static_cast<size_t>(index) + server_list_index; const auto i = static_cast<size_t>(index) + server_list_index;
if (i < servers.size()) if (i < servers.size())
{ {
static size_t last_index = ~0; static auto last_index = ~0ull;
if (last_index != i) if (last_index != i)
{ {
last_index = i; last_index = i;