mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
rbutil: Fix implicit type conversion on Windows.
Change-Id: I30c5edd5ce0344c47c0f9514eda830a2be8992c4
This commit is contained in:
parent
593d9f623d
commit
6bc19c98ca
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ QString Utils::resolveMountPoint(QString device)
|
|||
QString result;
|
||||
unsigned int driveno = device.replace(QRegularExpression("^.*([0-9]+)"), "\\1").toInt();
|
||||
|
||||
int letter;
|
||||
char letter;
|
||||
for(letter = 'A'; letter <= 'Z'; letter++) {
|
||||
if(resolveDevicename(QString(letter)).toUInt() == driveno) {
|
||||
result = letter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue