From 911b66b251e250e4fe5a76579aae84df7002eae3 Mon Sep 17 00:00:00 2001 From: Holger Schinzel Date: Sun, 20 Jul 2014 11:51:46 +0200 Subject: [PATCH] this fixes compilation error on win32 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 00c2287674e7a..ea58db2f9052b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5833,7 +5833,7 @@ int CDarkSendPool::GetCurrentMasterNode(int mod, int64 nBlockHeight) int CDarkSendPool::GetMasternodeRank(CTxIn& vin, int mod) { - std::vector > vecMasternodeScores; + std::vector > vecMasternodeScores; BOOST_FOREACH(CMasterNode mn, darkSendMasterNodes) { mn.Check(); @@ -5851,7 +5851,7 @@ int CDarkSendPool::GetMasternodeRank(CTxIn& vin, int mod) sort(vecMasternodeScores.rbegin(), vecMasternodeScores.rend(), CompareValueOnly()); unsigned int rank = 0; - BOOST_FOREACH (PAIRTYPE(uint, CTxIn)& s, vecMasternodeScores){ + BOOST_FOREACH (PAIRTYPE(unsigned int, CTxIn)& s, vecMasternodeScores){ rank++; if(s.second == vin) return rank; }