Commit d942b71c authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of hard coded `4'.

parent 75056d40
......@@ -1628,7 +1628,7 @@ Both LENGTH and INIT must be numbers.")
}
else
{
unsigned char str[4];
unsigned char str[MAX_MULTIBYTE_LENGTH];
int len = CHAR_STRING (c, str);
nbytes = len * XINT (length);
......
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