summaryrefslogtreecommitdiff
path: root/src/host/buildvm_lib.c
diff options
context:
space:
mode:
authorMike Pall <mike>2022-12-22 00:03:06 +0100
committerMike Pall <mike>2022-12-22 00:03:06 +0100
commit8a5e398c52c7f8ca3e1a0e574cc2ba38224b759b (patch)
treedae089564f58db2963bae8e3530c1faae104cc61 /src/host/buildvm_lib.c
parentb2791179ef96d652d00d78d2a8780af690537f6a (diff)
downloadluajit2-8a5e398c52c7f8ca3e1a0e574cc2ba38224b759b.tar.gz
Avoid negation of signed integers in C that may hold INT*_MIN.
Reported by minoki. Recent C compilers 'take advantage' of the undefined behavior. This completely changes the meaning of expressions like (k == -k).
Diffstat (limited to 'src/host/buildvm_lib.c')
0 files changed, 0 insertions, 0 deletions