mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Use signed ints in struct charset_table
* src/charset.h (struct charset_table): Make the slots size and used signed. (charset_attributes_getter): Fix spacing.
This commit is contained in:
parent
b0d38e2934
commit
b06a1f85c6
|
|
@ -258,7 +258,7 @@ extern Lisp_Object Vcharset_hash_table;
|
|||
struct charset_table
|
||||
{
|
||||
struct charset *start;
|
||||
unsigned size, used;
|
||||
int size, used;
|
||||
Lisp_Object attributes_table;
|
||||
};
|
||||
|
||||
|
|
@ -305,7 +305,7 @@ INLINE Lisp_Object
|
|||
charset_attributes_getter (struct charset *charset)
|
||||
{
|
||||
eassert (ASIZE (charset_table.attributes_table) == charset_table.size);
|
||||
Lisp_Object attrs = AREF (charset_table.attributes_table, charset->id);
|
||||
Lisp_Object attrs = AREF (charset_table.attributes_table, charset->id);
|
||||
eassert (XFIXNUM (CHARSET_ATTR_ID (attrs)) == charset->id);
|
||||
return attrs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue