mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 09:00:31 -08:00
* search.c (Fstore_match_data): Don't assume Flength returns an
integer.
This commit is contained in:
parent
f97388409e
commit
d084e9427f
1 changed files with 1 additions and 1 deletions
|
|
@ -1302,7 +1302,7 @@ LIST should have been created by calling `match-data' previously.")
|
|||
|
||||
/* Allocate registers if they don't already exist. */
|
||||
{
|
||||
int length = Flength (list) / 2;
|
||||
int length = XFASTINT (Flength (list)) / 2;
|
||||
|
||||
if (length > search_regs.num_regs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue