diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-24 09:12:16 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-05-26 14:54:10 +0100 |
commit | a87980f6c2085a47e732d580947344649668adbe (patch) | |
tree | 0daa77571054741ee3ab7bf1a031237dfd2ae72f /src/cryptonote_basic | |
parent | Merge pull request #3787 (diff) | |
download | monero-a87980f6c2085a47e732d580947344649668adbe.tar.xz |
fix build with GCC 8.1.0
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/account.cpp b/src/cryptonote_basic/account.cpp index bab991d19..aac6ec22b 100644 --- a/src/cryptonote_basic/account.cpp +++ b/src/cryptonote_basic/account.cpp @@ -157,7 +157,7 @@ DISABLE_VS_WARNINGS(4244 4345) void account_base::create_from_viewkey(const cryptonote::account_public_address& address, const crypto::secret_key& viewkey) { crypto::secret_key fake; - memset(&fake, 0, sizeof(fake)); + memset(&unwrap(fake), 0, sizeof(fake)); create_from_keys(address, fake, viewkey); } //----------------------------------------------------------------- |