# HG changeset patch # User Karl Heuer # Date 781291176 0 # Node ID bbf226780027efa579c696a99d8def1fc07e10c1 # Parent 28fcacb58a38e03dc724fccceca62437ac1f6aeb (validate_interval_range): Don't use XFASTINT as an lvalue. diff -r 28fcacb58a38 -r bbf226780027 src/textprop.c --- a/src/textprop.c Tue Oct 04 17:10:36 1994 +0000 +++ b/src/textprop.c Tue Oct 04 17:19:36 1994 +0000 @@ -141,9 +141,9 @@ 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)