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 | ac208ea56d3884574ccf339bc2920baf8de44676 (patch) | |
tree | 0abd76daea04fbde203308216ceb438e12ee1ba5 /src/textprop.c | |
parent | 621cb1b5419034ad8711ad1d03783c279d4857e9 (diff) | |
download | emacs-ac208ea56d3884574ccf339bc2920baf8de44676.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) |