diff options
| author | Dave Love | 2002-07-16 15:00:58 +0000 |
|---|---|---|
| committer | Dave Love | 2002-07-16 15:00:58 +0000 |
| commit | 73e92b8cc08c498c2fd9541797074ed818b5e1b7 (patch) | |
| tree | a22a81fb891ebd4990681ef3abd842a0044e69b3 /src | |
| parent | 6cc0e1cacb63de8e7a506044fc3d9c8ee7e221dc (diff) | |
| download | emacs-73e92b8cc08c498c2fd9541797074ed818b5e1b7.tar.gz emacs-73e92b8cc08c498c2fd9541797074ed818b5e1b7.zip | |
(CHECK_CHARSET_GET_ID): Use XINT on AREF result.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.h | 4 |
1 files 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]; | |||
| 341 | \ | 341 | \ |
| 342 | if (! SYMBOLP (x) || (idx = CHARSET_SYMBOL_HASH_INDEX (x)) < 0) \ | 342 | if (! SYMBOLP (x) || (idx = CHARSET_SYMBOL_HASH_INDEX (x)) < 0) \ |
| 343 | x = wrong_type_argument (Qcharsetp, (x)); \ | 343 | x = wrong_type_argument (Qcharsetp, (x)); \ |
| 344 | id = AREF (HASH_VALUE (XHASH_TABLE (Vcharset_hash_table), idx), \ | 344 | id = XINT (AREF (HASH_VALUE (XHASH_TABLE (Vcharset_hash_table), idx), \ |
| 345 | charset_id); \ | 345 | charset_id)); \ |
| 346 | } while (0) | 346 | } while (0) |
| 347 | 347 | ||
| 348 | 348 | ||