From: Paul Eggert Date: Mon, 23 May 2011 00:31:35 +0000 (-0700) Subject: * alloc.c (make_event_array): Use XINT, not XUINT. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~139^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c11285dca1ee2896b487fe03408a4c7c356b6d5b;p=emacs.git * alloc.c (make_event_array): Use XINT, not XUINT. There's no need for unsigned here. --- 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