diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 423c1f167db..82be8a903b4 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2140,7 +2140,7 @@ compact_small_strings (void) | |||
| 2140 | /* Copy, and update the string's `data' pointer. */ | 2140 | /* Copy, and update the string's `data' pointer. */ |
| 2141 | if (from != to) | 2141 | if (from != to) |
| 2142 | { | 2142 | { |
| 2143 | xassert (tb != b || to <= from); | 2143 | xassert (tb != b || to < from); |
| 2144 | memmove (to, from, nbytes + GC_STRING_EXTRA); | 2144 | memmove (to, from, nbytes + GC_STRING_EXTRA); |
| 2145 | to->string->data = SDATA_DATA (to); | 2145 | to->string->data = SDATA_DATA (to); |
| 2146 | } | 2146 | } |