rbutil: Fix unnecessary implicit cast.
Change-Id: Id05220a700eb826d38023575b02f568b1c1a7580
This commit is contained in:
parent
c8f79d31b1
commit
728299e322
1 changed files with 2 additions and 2 deletions
|
@ -401,8 +401,8 @@ int Utils::compareVersionStrings(QString s1, QString s2)
|
|||
|
||||
// convert to number
|
||||
bool ok1, ok2;
|
||||
int vala = numa.toUInt(&ok1);
|
||||
int valb = numb.toUInt(&ok2);
|
||||
unsigned int vala = numa.toUInt(&ok1);
|
||||
unsigned int valb = numb.toUInt(&ok2);
|
||||
// if none of the numbers converted successfully we're at trailing garbage.
|
||||
if(!ok1 && !ok2)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue