aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1997-05-19 03:33:50 +0000
committerKenichi Handa1997-05-19 03:33:50 +0000
commit028d516b9c755bef5d7330bf4bdbd8f3aa75b664 (patch)
treeb7ec4400e56632f8a2608a66d712c3c52a93ef46 /src
parentb8344c0e6169ee4d5951a1f18e557c319ae13e2f (diff)
downloademacs-028d516b9c755bef5d7330bf4bdbd8f3aa75b664.tar.gz
emacs-028d516b9c755bef5d7330bf4bdbd8f3aa75b664.zip
(Ffind_charset_region): Change the declaration of
charsets from `char' to `int. (find_charset_in_str): Likewize.
Diffstat (limited to 'src')
-rw-r--r--src/charset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/charset.c b/src/charset.c
index 8518cc8829d..65a99561237 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -539,8 +539,8 @@ CHARSET should be defined by `defined-charset' in advance.")
539 539
540int 540int
541find_charset_in_str (str, len, charsets, table) 541find_charset_in_str (str, len, charsets, table)
542 unsigned char *str, *charsets; 542 unsigned char *str;
543 int len; 543 int len, *charsets;
544 Lisp_Object table; 544 Lisp_Object table;
545{ 545{
546 int num = 0; 546 int num = 0;
@@ -584,7 +584,7 @@ Optional arg TABLE if non-nil is a unification table to look up.")
584 (beg, end, table) 584 (beg, end, table)
585 Lisp_Object beg, end, table; 585 Lisp_Object beg, end, table;
586{ 586{
587 char charsets[MAX_CHARSET + 1]; 587 int charsets[MAX_CHARSET + 1];
588 int from, to, stop, i; 588 int from, to, stop, i;
589 Lisp_Object val; 589 Lisp_Object val;
590 590
@@ -593,7 +593,7 @@ Optional arg TABLE if non-nil is a unification table to look up.")
593 stop = to = XFASTINT (end); 593 stop = to = XFASTINT (end);
594 if (from < GPT && GPT < to) 594 if (from < GPT && GPT < to)
595 stop = GPT; 595 stop = GPT;
596 bzero (charsets, MAX_CHARSET + 1); 596 bzero (charsets, (MAX_CHARSET + 1) * sizeof (int));
597 while (1) 597 while (1)
598 { 598 {
599 find_charset_in_str (POS_ADDR (from), stop - from, charsets, table); 599 find_charset_in_str (POS_ADDR (from), stop - from, charsets, table);