diff options
author | Mark H Weaver <mhw@netris.org> | 2013-08-06 17:00:23 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2013-08-06 17:00:23 -0400 |
commit | d2295ba5716b60a5f0b28b1b91fd2ed3cf1192f5 (patch) | |
tree | ebe1383ae6d82f2e5ced130c5506c7a80c5b2193 /libguile/weak-vector.c | |
parent | 0bd659658ba2a2b6dab9cb75f693818e5ce8241b (diff) | |
download | guile-d2295ba5716b60a5f0b28b1b91fd2ed3cf1192f5.tar.gz |
RTL VM: Avoid signed overflows in 'add1' and 'sub1'.
* libguile/vm-engine.c (INUM_MIN, INUM_MAX): Redefine without making
assumptions about the representation.
(INUM_STEP): New macro.
(add1, sub1): Avoid signed overflows, and use INUM_STEP.
Diffstat (limited to 'libguile/weak-vector.c')
0 files changed, 0 insertions, 0 deletions