diff options
| author | Jim Blandy | 1992-10-31 05:38:19 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-10-31 05:38:19 +0000 |
| commit | d084e9427ff5c524cca4e079dc2d72713e280d5c (patch) | |
| tree | 50e48e243064c05f8e48609dfe7e0519248e7126 /src/search.c | |
| parent | f97388409e045f8ed7aec32517069de0534be754 (diff) | |
| download | emacs-d084e9427ff5c524cca4e079dc2d72713e280d5c.tar.gz emacs-d084e9427ff5c524cca4e079dc2d72713e280d5c.zip | |
* search.c (Fstore_match_data): Don't assume Flength returns an
integer.
Diffstat (limited to 'src/search.c')
| -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 | { |