diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-10-04 17:19:36 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-10-04 17:19:36 +0000 |
commit | 330e7312a3b61dc3bb7b9c970e649151ed799a23 (patch) | |
tree | eccbfcd6ee342754d7f3ce8ec0780389907b492c /src/textprop.c | |
parent | e8e536a9968182f5ee37eb4a5621ab7a520dc24e (diff) | |
download | emacs-330e7312a3b61dc3bb7b9c970e649151ed799a23.tar.gz |
(validate_interval_range): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c index acb6d4d30c9..19f469875b8 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -141,9 +141,9 @@ validate_interval_range (object, begin, end, force) args_out_of_range (*begin, *end); /* User-level Positions in strings start with 0, but the interval code always wants positions starting with 1. */ - XFASTINT (*begin) += 1; + XSETFASTINT (*begin, XFASTINT (*begin) + 1); if (begin != end) - XFASTINT (*end) += 1; + XSETFASTINT (*end, XFASTINT (*end) + 1); i = s->intervals; if (s->size == 0) |