From b06a1f85c61c3583d9df9a73e4317b290d1c19a6 Mon Sep 17 00:00:00 2001 From: Helmut Eller Date: Sat, 7 Mar 2026 15:23:33 +0100 Subject: [PATCH] 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. --- src/charset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/charset.h b/src/charset.h index f7cd08e3a88..e0ffa992506 100644 --- a/src/charset.h +++ b/src/charset.h @@ -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; }