Save AES-KDF round parameter as quint64

This commit is contained in:
Janek Bevendorff 2018-01-11 00:35:39 +01:00 committed by Jonathan White
parent 6df54cfe8d
commit 337a21f6d6
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -54,7 +54,7 @@ QVariantMap AesKdf::writeParameters()
// always write old KDBX3 AES-KDF UUID for compatibility with other applications
p.insert(KeePass2::KDFPARAM_UUID, KeePass2::KDF_AES_KDBX3.toByteArray());
p.insert(KeePass2::KDFPARAM_AES_ROUNDS, rounds());
p.insert(KeePass2::KDFPARAM_AES_ROUNDS, static_cast<quint64>(rounds()));
p.insert(KeePass2::KDFPARAM_AES_SEED, seed());
return p;
}