Fix warning regarding mismatched parameter types

pyro-refactor
tomangelo2 2020-08-27 00:28:03 +02:00
parent b17a4391b0
commit f08c67bef9
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ bool rAbs(CBotVar* var, CBotVar* result, int& exception, void* user)
*result = fabs(var->GetValFloat()); *result = fabs(var->GetValFloat());
break; break;
case CBotTypLong: case CBotTypLong:
*result = abs(var->GetValLong()); *result = labs(var->GetValLong());
break; break;
default: default:
*result = abs(var->GetValInt()); *result = abs(var->GetValInt());