From: Dave Love Date: Tue, 16 Jul 2002 15:00:58 +0000 (+0000) Subject: (CHECK_CHARSET_GET_ID): Use XINT on AREF result. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~568 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=73e92b8cc08c498c2fd9541797074ed818b5e1b7;p=emacs.git (CHECK_CHARSET_GET_ID): Use XINT on AREF result. --- 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)