more conversion warnings
This commit is contained in:
parent
2ab8c2eaee
commit
f348d4fc08
|
@ -259,7 +259,7 @@ const std::vector<Keyword> keywords =
|
|||
|
||||
int number = rand() % limit;
|
||||
|
||||
rt.assign_var_num(tokens[1].val_string, number);
|
||||
rt.assign_var_num(tokens[1].val_string, static_cast<float>(number));
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue