diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-19 12:51:13 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-19 12:51:13 -0500 |
commit | 9a3bd88b9f65f4245b6b20ef0c33b75c39779b80 (patch) | |
tree | 9a7859d7d2c611058eeddfe385cf15ab74e804fc /src/cryptonote_basic | |
parent | Merge pull request #3844 (diff) | |
parent | fix build with GCC 8.1.0 (diff) | |
download | monero-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.xz |
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
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); } //----------------------------------------------------------------- |