patch manager: Skip lower patch_versions

This commit is contained in:
Megamouse 2020-06-19 16:13:36 +02:00
parent bf978ac8ca
commit fd2cd84555
3 changed files with 27 additions and 4 deletions

View file

@ -67,7 +67,7 @@ namespace utils
int vnum2 = 0;
// Loop until both strings are processed
for (int i = 0, j = 0; (i < v1.length() || j < v2.length());)
for (size_t i = 0, j = 0; (i < v1.length() || j < v2.length());)
{
// Storing numeric part of version 1 in vnum1
while (i < v1.length() && v1[i] != '.')