Mercurial > emacs
changeset 88854:8b5248397330
(CHECK_CHARSET_GET_ID): Use XINT on AREF result.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 16 Jul 2002 15:00:58 +0000 |
parents | 503c60238368 |
children | 0382604a03ea |
files | src/charset.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.h Tue Jul 16 14:59:03 2002 +0000 +++ b/src/charset.h Tue Jul 16 15:00:58 2002 +0000 @@ -341,8 +341,8 @@ \ 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)