Commit 33df3183 authored by Kenichi Handa's avatar Kenichi Handa

(Fdefine_charset_internal): Fix argument to bzero.

parent f9d71dcd
......@@ -719,7 +719,7 @@ usage: (define-charset-internal ...) */)
if (! charset.code_linear_p)
{
charset.code_space_mask = (unsigned char *) xmalloc (256);
bzero (charset.code_space_mask, sizeof (charset.code_space_mask));
bzero (charset.code_space_mask, 256);
for (i = 0; i < 4; i++)
for (j = charset.code_space[i * 4]; j <= charset.code_space[i * 4 + 1];
j++)
......
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