Commit d084e942 authored by Jim Blandy's avatar Jim Blandy
Browse files

* search.c (Fstore_match_data): Don't assume Flength returns an

	integer.
parent f9738840
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment