diff src/search.c @ 1523:bd61aaa7828b

* search.c (Fstore_match_data): Don't assume Flength returns an integer.
author Jim Blandy <jimb@redhat.com>
date Sat, 31 Oct 1992 05:38:19 +0000
parents 527af9fa8676
children f4d848dea8ff
line wrap: on
line diff
--- a/src/search.c	Sat Oct 31 05:27:42 1992 +0000
+++ b/src/search.c	Sat Oct 31 05:38:19 1992 +0000
@@ -1302,7 +1302,7 @@
 
   /* 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)
       {