From 4b425a397c63d6585504fd1b95907011386d16d6 Mon Sep 17 00:00:00 2001
From: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
Date: Mon, 21 Mar 2016 20:58:07 +0000
Subject: [PATCH] core_tests: fix compile failure with GCC 4.8.4

Reported and tested by smooth
---
 tests/core_tests/chaingen.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
   };