summaryrefslogtreecommitdiff
path: root/libguile/weak-vector.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-08-06 17:00:23 -0400
committerMark H Weaver <mhw@netris.org>2013-08-06 17:00:23 -0400
commitd2295ba5716b60a5f0b28b1b91fd2ed3cf1192f5 (patch)
treeebe1383ae6d82f2e5ced130c5506c7a80c5b2193 /libguile/weak-vector.c
parent0bd659658ba2a2b6dab9cb75f693818e5ce8241b (diff)
downloadguile-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