sonar-openedge
sonar-openedge copied to clipboard
Conversion could overflow variable
A continuation of #1076 - after updating to V2.23 truncate will still flag the rule:
def var i1 as int.
def var i2 as int.
i2 = truncate( i1 / 2, 0 ).
Just leaving this here :-)
That's just in case you change to exp(2, 31) + 1 😄