Fix compilation error

This commit is contained in:
Janek Bevendorff
2018-01-06 13:11:47 +01:00
committed by Jonathan White
parent 564188b0d3
commit f7d3c90218
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ QByteArray CryptoHash::result() const
{
Q_D(const CryptoHash);
const auto* result = reinterpret_cast<const char*>(gcry_md_read(d->ctx, 0));
const auto result = reinterpret_cast<const char*>(gcry_md_read(d->ctx, 0));
return QByteArray(result, d->hashLen);
}