aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-21 20:58:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-21 20:58:07 +0000
commit4b425a397c63d6585504fd1b95907011386d16d6 (patch)
tree7a07f377758441e5c2af53c355164dbd92047e25 /tests/core_tests
parentMerge pull request #743 (diff)
downloadmonero-4b425a397c63d6585504fd1b95907011386d16d6.tar.xz
core_tests: fix compile failure with GCC 4.8.4
Reported and tested by smooth
Diffstat (limited to 'tests/core_tests')
-rw-r--r--tests/core_tests/chaingen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index d0d912cbb..44170d116 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -472,7 +472,7 @@ inline bool replay_events_through_core(cryptonote::core& cr, const std::vector<t
//--------------------------------------------------------------------------
template<class t_test_class>
struct get_test_options {
- const std::pair<uint8_t, uint64_t> hard_forks[1] = {std::make_pair(1, 0)};
+ const std::pair<uint8_t, uint64_t> hard_forks[1] = {std::make_pair((uint8_t)1, (uint64_t)0)};
const cryptonote::test_options test_options = {
hard_forks
};