diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-09-23 10:57:35 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-09-23 10:57:35 -0300 |
commit | cfbe378f906061ee56f91acfbdf569d0d3fb9556 (patch) | |
tree | 26bde27fbb3ed4c158de4a9991a144dd3f2cd57b /lvm.c | |
parent | a1089b415a3f5c753aa1b40758ffdaf28d5701b0 (diff) | |
download | lua-cfbe378f906061ee56f91acfbdf569d0d3fb9556.tar.gz lua-cfbe378f906061ee56f91acfbdf569d0d3fb9556.tar.bz2 lua-cfbe378f906061ee56f91acfbdf569d0d3fb9556.zip |
Small simplification in overflow check in 'getfield'
Subtracting a small non-negative int from a non-negative int cannot
overflow, and adding a non-negative int to INT_MIN cannot overflow.
Diffstat (limited to 'lvm.c')
0 files changed, 0 insertions, 0 deletions