Skip to content

Commit fc7cf8b

Browse files
jamescowensdiv72
andauthored
Update src/gridcoin/voting/result.cpp (to be squashed)
Co-authored-by: div72 <60045611+div72@users.noreply.github.com>
1 parent 5498b90 commit fc7cf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridcoin/voting/result.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ class LegacyVoteCounterContext
642642
if (m_poll.Choices().size() > (size_t) std::numeric_limits<uint8_t>::max()) {
643643
LogPrintf("WARN: %s: Number of legacy poll choices exceeds bins available in m_legacy_choices_cache map. "
644644
"Limiting to %u.", __func__, std::numeric_limits<uint8_t>::max());
645-
m_poll_choices_size = (size_t) std::numeric_limits<uint8_t>::max();
645+
m_poll_choices_size = std::numeric_limits<uint8_t>::max();
646646
} else {
647647
m_poll_choices_size = m_poll.Choices().size();
648648
}

0 commit comments

Comments
 (0)