Commit 330e7312 authored by Karl Heuer's avatar Karl Heuer

(validate_interval_range): Don't use XFASTINT as an lvalue.

parent e8e536a9
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment