fix integer overflow
This commit is contained in:
@@ -254,7 +254,7 @@ boost::optional<Poco::JSON::Object> OutputRequestHandler::parseDisplay(const std
|
||||
{
|
||||
try
|
||||
{
|
||||
unsigned int numerical_score = std::stoi(score);
|
||||
uint64_t numerical_score = std::stoi(score);
|
||||
display->write_score(numerical_score);
|
||||
}
|
||||
catch(std::invalid_argument &e)
|
||||
|
||||
Reference in New Issue
Block a user