- use int64_t as integer type in calculator

This commit is contained in:
Dmytro Bogovych 2018-07-16 09:55:34 +03:00
parent 6d3a335e7c
commit 3db891050e
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ namespace Calc
case LexemType::Dec:
result->mType = Ast::Type::Number;
result->mValue = atoi(l.mValue.c_str());
result->mValue = (int64_t)atoll(l.mValue.c_str());
break;
case LexemType::Hex: