Cast Random result to float (bug #5175)

This commit is contained in:
Capostrophic 2019-10-03 23:15:25 +03:00
parent 4efdc88f1a
commit bde4a38181
3 changed files with 3 additions and 4 deletions

View file

@ -489,7 +489,7 @@ namespace Compiler
parseArguments ("l", scanner);
Generator::random (mCode);
mOperands.push_back ('l');
mOperands.push_back ('f');
mNextOperand = false;
return true;