changeset 4417:02b7d9476fae

(read_key_sequence): Use XFASTINT to convert value of Flength to an int.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Aug 1993 07:29:53 +0000
parents 9657ef911049
children fdbbde0d4f24
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Aug 02 07:28:31 1993 +0000
+++ b/src/keyboard.c	Mon Aug 02 07:29:53 1993 +0000
@@ -4212,7 +4212,7 @@
 	      if ((VECTORP (fkey_next) || STRINGP (fkey_next))
 		  && fkey_end == t)
 		{
-		  int len = Flength (fkey_next);
+		  int len = XFASTINT (Flength (fkey_next));
 
 		  t = fkey_start + len;
 		  if (t >= bufsize)
@@ -4284,7 +4284,7 @@
 	    if ((VECTORP (keytran_next) || STRINGP (keytran_next))
 		&& keytran_end == t)
 	      {
-		int len = Flength (keytran_next);
+		int len = XFASTINT (Flength (keytran_next));
 
 		t = keytran_start + len;
 		if (t >= bufsize)