changeset 88609:d95f7c449f7a

(Fdefine_charset_internal): Fix argument to bzero.
author Kenichi Handa <handa@m17n.org>
date Thu, 23 May 2002 10:57:15 +0000
parents 87f434e79e80
children bc5a086f9455
files src/charset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Thu May 23 10:56:58 2002 +0000
+++ b/src/charset.c	Thu May 23 10:57:15 2002 +0000
@@ -719,7 +719,7 @@
   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++)