* category.h (CATEGORY_SET_P): Remove unnecessary cast to EMACS_INT.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Jun 2011 08:17:29 +0000 (01:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Jun 2011 08:17:29 +0000 (01:17 -0700)
src/ChangeLog
src/category.h

index aa605cb..4b31db3 100644 (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.
index eacd89c..737198c 100644 (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))