diff options
| -rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 22e3329551f..8868d0aa537 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -1302,7 +1302,7 @@ LIST should have been created by calling `match-data' previously.") | |||
| 1302 | 1302 | ||
| 1303 | /* Allocate registers if they don't already exist. */ | 1303 | /* Allocate registers if they don't already exist. */ |
| 1304 | { | 1304 | { |
| 1305 | int length = Flength (list) / 2; | 1305 | int length = XFASTINT (Flength (list)) / 2; |
| 1306 | 1306 | ||
| 1307 | if (length > search_regs.num_regs) | 1307 | if (length > search_regs.num_regs) |
| 1308 | { | 1308 | { |