mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 21:58:48 +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)
|
||||
{
|
||||
parser->current.value = NUM_VAL(strtoll(parser->tokenStart, NULL, 16));
|
||||
parser->current.value = NUM_VAL((double)strtoll(parser->tokenStart, NULL, 16));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user