mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 09:57:05 -04:00
Fixed cast warning
This commit is contained in:
parent
4e903e4c50
commit
4277364e91
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ void Metadata::copyCustomIcons(const QSet<Uuid>& iconList, const Metadata* other
|
|||
|
||||
QByteArray Metadata::hashImage(const QImage& image)
|
||||
{
|
||||
auto data = QByteArray((char*)image.bits(), image.byteCount());
|
||||
auto data = QByteArray(reinterpret_cast<const char*>(image.bits()), image.byteCount());
|
||||
return QCryptographicHash::hash(data, QCryptographicHash::Md5);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue