Commit 73e92b8c authored by Dave Love's avatar Dave Love
Browse files

(CHECK_CHARSET_GET_ID): Use XINT on AREF result.

parent 6cc0e1ca
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment