From: Kenichi Handa Date: Thu, 23 May 2002 10:57:15 +0000 (+0000) Subject: (Fdefine_charset_internal): Fix argument to bzero. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~787 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33df31830adf3b559bb74f98b473ad8482b19e05;p=emacs.git (Fdefine_charset_internal): Fix argument to bzero. --- diff --git a/src/charset.c b/src/charset.c index 93ad3e8b61f..10a3b274022 100644 --- a/src/charset.c +++ b/src/charset.c @@ -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++)