mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 06:08:41 +01:00
fix warning about conversion from '__int64' to 'double', possible loss of data
This commit is contained in:
@ -712,7 +712,7 @@ static void makeNumber(Parser* parser, bool isHex)
|
|||||||
|
|
||||||
if (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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user