From 73e92b8cc08c498c2fd9541797074ed818b5e1b7 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 16 Jul 2002 15:00:58 +0000 Subject: [PATCH] (CHECK_CHARSET_GET_ID): Use XINT on AREF result. --- src/charset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/charset.h b/src/charset.h index 4ab884ff264..511ef3458e1 100644 --- a/src/charset.h +++ b/src/charset.h @@ -341,8 +341,8 @@ extern struct charset *emacs_mule_charset[256]; \ if (! SYMBOLP (x) || (idx = CHARSET_SYMBOL_HASH_INDEX (x)) < 0) \ x = wrong_type_argument (Qcharsetp, (x)); \ - id = AREF (HASH_VALUE (XHASH_TABLE (Vcharset_hash_table), idx), \ - charset_id); \ + id = XINT (AREF (HASH_VALUE (XHASH_TABLE (Vcharset_hash_table), idx), \ + charset_id)); \ } while (0) -- 2.39.5