From: Paul Eggert Date: Fri, 17 Jun 2011 08:17:29 +0000 (-0700) Subject: * category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT. X-Git-Tag: emacs-pretest-24.0.90~104^2~473^2~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0703a717821d3e1d0ee2b0b5f5f42c55fa97210f;p=emacs.git * category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT. --- diff --git a/src/ChangeLog b/src/ChangeLog index aa605cb7559..4b31db3e26a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-06-17 Paul Eggert + * category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT. + * buffer.c: Include . (struct sortvec.priority, struct sortstr.priority): 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 . */ #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))