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/account.cpp | |
| parent | 61f3916b4ae51480b783a4f137f7456b4731b2b9 (diff) | |
| parent | a87980f6c2085a47e732d580947344649668adbe (diff) | |
| download | monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.gz monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.tar.xz monzero-core-9a3bd88b9f65f4245b6b20ef0c33b75c39779b80.zip | |
Merge pull request #3851
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic/account.cpp')
| -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); } //----------------------------------------------------------------- |
