1
Fork 0
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:
Jim Blandy 1992-10-31 05:38:19 +00:00
parent f97388409e
commit d084e9427f

View file

@ -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)
{