From c11285dca1ee2896b487fe03408a4c7c356b6d5b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 22 May 2011 17:31:35 -0700 Subject: [PATCH] * alloc.c (make_event_array): Use XINT, not XUINT. There's no need for unsigned here. --- src/ChangeLog | 3 +++ src/alloc.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 725c6642746..f6a6c21c25c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-05-23 Paul Eggert + * alloc.c (make_event_array): Use XINT, not XUINT. + There's no need for unsigned here. + * mem-limits.h (EXCEEDS_LISP_PTR) [!USE_LSB_TAG]: EMACS_UINT -> uintptr_t This follows up to the 2011-05-06 change that substituted uintptr_t for EMACS_INT. This case wasn't caught back then. diff --git a/src/alloc.c b/src/alloc.c index 71ab54bcab5..3f7bed571c7 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -3244,7 +3244,7 @@ make_event_array (register int nargs, Lisp_Object *args) are characters that are in 0...127, after discarding the meta bit and all the bits above it. */ if (!INTEGERP (args[i]) - || (XUINT (args[i]) & ~(-CHAR_META)) >= 0200) + || (XINT (args[i]) & ~(-CHAR_META)) >= 0200) return Fvector (nargs, args); /* Since the loop exited, we know that all the things in it are -- 2.39.2