* category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT.

This commit is contained in:
Paul Eggert 2011-06-17 01:17:29 -07:00
parent d6202519ae
commit 0703a71782
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-06-17 Paul Eggert <eggert@cs.ucla.edu>
* category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT.
* buffer.c: Include <verify.h>.
(struct sortvec.priority, struct sortstr.priority):
Now EMACS_INT, not int.

View file

@ -62,7 +62,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define XCATEGORY_SET XBOOL_VECTOR
#define CATEGORY_SET_P(x) \
(BOOL_VECTOR_P ((x)) && (EMACS_INT) (XBOOL_VECTOR ((x))->size) == 128)
(BOOL_VECTOR_P (x) && XBOOL_VECTOR (x)->size == 128)
/* Return a new empty category set. */
#define MAKE_CATEGORY_SET (Fmake_bool_vector (make_number (128), Qnil))