mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Fix warning C4244 'argument': conversion from 'size_t' to 'uint', possible loss of data
Use explicit cast. Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
bba7700f19
commit
1b56a81bbe
1 changed files with 2 additions and 2 deletions
|
|
@ -374,8 +374,8 @@ namespace KeeShareSettings
|
|||
QByteArray rsaKeySerialized;
|
||||
QDataStream stream(&rsaKeySerialized, QIODevice::WriteOnly);
|
||||
stream.writeBytes("ssh-rsa", 7);
|
||||
stream.writeBytes(reinterpret_cast<const char*>(rsaE.data()), rsaE.size());
|
||||
stream.writeBytes(reinterpret_cast<const char*>(rsaN.data()), rsaN.size());
|
||||
stream.writeBytes(reinterpret_cast<const char*>(rsaE.data()), static_cast<uint>(rsaE.size()));
|
||||
stream.writeBytes(reinterpret_cast<const char*>(rsaN.data()), static_cast<uint>(rsaN.size()));
|
||||
|
||||
return xmlSerialize([&](QXmlStreamWriter& writer) {
|
||||
writer.writeStartElement("Signature");
|
||||
|
|
|
|||
Loading…
Reference in a new issue