fix warning about conversion from '__int64' to 'double', possible loss of data

This commit is contained in:
underscorediscovery
2019-09-18 00:05:16 -07:00
parent fa2a3d9576
commit 123ba80a89

View File

@ -712,7 +712,7 @@ static void makeNumber(Parser* parser, bool isHex)
if (isHex)
{
parser->current.value = NUM_VAL(strtoll(parser->tokenStart, NULL, 16));
parser->current.value = NUM_VAL((double)strtoll(parser->tokenStart, NULL, 16));
}
else
{