Udisks2Lister: Add static_cast
This commit is contained in:
parent
2b4aa1d6b2
commit
7b00385155
@ -395,7 +395,7 @@ Udisks2Lister::PartitionData Udisks2Lister::ReadPartitionData(const QDBusObjectP
|
||||
}
|
||||
|
||||
for (const QByteArray &p : filesystem.mountPoints()) {
|
||||
const QString mountpoint = QString::fromUtf8(p.data(), qstrlen(p.data()));
|
||||
const QString mountpoint = QString::fromUtf8(p.data(), static_cast<qint64>(qstrlen(p.data())));
|
||||
result.mount_paths.push_back(mountpoint);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user