diff options
Diffstat (limited to 'core/checkcloudconnection.cpp')
-rw-r--r-- | core/checkcloudconnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/checkcloudconnection.cpp b/core/checkcloudconnection.cpp index b8e9fc26f..7b86eaaa7 100644 --- a/core/checkcloudconnection.cpp +++ b/core/checkcloudconnection.cpp @@ -106,7 +106,7 @@ bool CheckCloudConnection::nextServer() { CLOUD_HOST_US, false } }; const char *server = nullptr; - for (int i = 0; i < CLOUD_NUM_HOSTS; i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(cloudServers); i++) { if (strstr(prefs.cloud_base_url, cloudServers[i].server)) cloudServers[i].tried = true; else if (cloudServers[i].tried == false) |