changeset 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 19ccf004b172
children 91454bf15944
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)
       {