Commit 2e864a76 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(read_key_sequence): Use XFASTINT to convert value

of Flength to an int.
parent be8b1c6b
......@@ -4212,7 +4212,7 @@ read_key_sequence (keybuf, bufsize, prompt)
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 @@ read_key_sequence (keybuf, bufsize, prompt)
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)
......
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