Commit c11285dc authored by Paul Eggert's avatar Paul Eggert
Browse files

* alloc.c (make_event_array): Use XINT, not XUINT.

There's no need for unsigned here.
parent fdccd48e
2011-05-23 Paul Eggert <eggert@cs.ucla.edu> 2011-05-23 Paul Eggert <eggert@cs.ucla.edu>
* 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 * 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 This follows up to the 2011-05-06 change that substituted uintptr_t
for EMACS_INT. This case wasn't caught back then. for EMACS_INT. This case wasn't caught back then.
......
...@@ -3244,7 +3244,7 @@ make_event_array (register int nargs, Lisp_Object *args) ...@@ -3244,7 +3244,7 @@ make_event_array (register int nargs, Lisp_Object *args)
are characters that are in 0...127, are characters that are in 0...127,
after discarding the meta bit and all the bits above it. */ after discarding the meta bit and all the bits above it. */
if (!INTEGERP (args[i]) if (!INTEGERP (args[i])
|| (XUINT (args[i]) & ~(-CHAR_META)) >= 0200) || (XINT (args[i]) & ~(-CHAR_META)) >= 0200)
return Fvector (nargs, args); return Fvector (nargs, args);
/* Since the loop exited, we know that all the things in it are /* Since the loop exited, we know that all the things in it are
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment