diff options
| author | Paul Eggert | 2011-06-17 01:17:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-17 01:17:29 -0700 |
| commit | 0703a717821d3e1d0ee2b0b5f5f42c55fa97210f (patch) | |
| tree | a2905a5601ab32686b1b5124e25cacafd165f0dd /src | |
| parent | d6202519ae0dfb7421b64f823a0aaa54e1fc5951 (diff) | |
| download | emacs-0703a717821d3e1d0ee2b0b5f5f42c55fa97210f.tar.gz emacs-0703a717821d3e1d0ee2b0b5f5f42c55fa97210f.zip | |
* category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/category.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index aa605cb7559..4b31db3e26a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-06-17 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT. | ||
| 4 | |||
| 3 | * buffer.c: Include <verify.h>. | 5 | * buffer.c: Include <verify.h>. |
| 4 | (struct sortvec.priority, struct sortstr.priority): | 6 | (struct sortvec.priority, struct sortstr.priority): |
| 5 | Now EMACS_INT, not int. | 7 | Now EMACS_INT, not int. |
diff --git a/src/category.h b/src/category.h index eacd89ce2cb..737198cc964 100644 --- a/src/category.h +++ b/src/category.h | |||
| @@ -62,7 +62,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 62 | #define XCATEGORY_SET XBOOL_VECTOR | 62 | #define XCATEGORY_SET XBOOL_VECTOR |
| 63 | 63 | ||
| 64 | #define CATEGORY_SET_P(x) \ | 64 | #define CATEGORY_SET_P(x) \ |
| 65 | (BOOL_VECTOR_P ((x)) && (EMACS_INT) (XBOOL_VECTOR ((x))->size) == 128) | 65 | (BOOL_VECTOR_P (x) && XBOOL_VECTOR (x)->size == 128) |
| 66 | 66 | ||
| 67 | /* Return a new empty category set. */ | 67 | /* Return a new empty category set. */ |
| 68 | #define MAKE_CATEGORY_SET (Fmake_bool_vector (make_number (128), Qnil)) | 68 | #define MAKE_CATEGORY_SET (Fmake_bool_vector (make_number (128), Qnil)) |